http://www.perlmonks.org?node_id=450872


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

Replies are listed 'Best First'.
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 (Patriarch) 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.