Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2016-09-26 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (483 votes). Check out past polls.