Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^2: Regex: Identifying comments

by RichardK (Vicar)
on Aug 29, 2012 at 15:03 UTC ( #990489=note: print w/ replies, xml ) Need Help??

in reply to Re: Regex: Identifying comments
in thread Regex: Identifying comments

I like the look of this approach, but is this a valid comment ?

 select stuff from that -- a 'useful comment' goes here?

Comment on Re^2: Regex: Identifying comments
Download Code
Replies are listed 'Best First'.
Re^3: Regex: Identifying comments
by zuma53 (Beadle) on Aug 29, 2012 at 15:49 UTC
    Yes, as the quote comes after a free-and-clear '--'
      See the update to my reply which should handle this. It cannot handle multiline string in single quotes, though.
      لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2015-10-04 20:03 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (104 votes), past polls