Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^2: Regex: Identifying comments

by RichardK (Parson)
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?

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 romping around the Monastery: (4)
As of 2016-10-21 12:07 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (288 votes). Check out past polls.