Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: I resolve to finally grok and use the regex option...

by etcshadow (Priest)
on Apr 24, 2005 at 05:20 UTC ( #450872=note: print w/ replies, xml ) Need Help??


in reply to Re: I resolve to finally grok and use the regex option...
in thread I resolve to finally grok and use the regex option...

<s>You use /c? What is it, and why can't I find anything about it in perlre?</s>

Update: never mind. Resolved in the CB. For any others curious, it's in perlop, not perlre.

------------ :Wq Not an editor command: Wq


Comment on Re^2: I resolve to finally grok and use the regex option...
Download Code
Re^3: I resolve to finally grok and use the regex option...
by dmorelli (Scribe) on Apr 25, 2005 at 03:03 UTC
    This was new to me too. I found some additional information on /c in perlretut.
Re^3: I resolve to finally grok and use the regex option...
by ikegami (Pope) on Apr 27, 2005 at 15:41 UTC

    /c (in conjunction with /g) is great for tokenization. See Using Multiple m/\G.../gc to Tokenize for an example. There's another example in perlfaq.

    I've actually used all of the options listed in the poll.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://450872]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-09-20 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (163 votes), past polls