Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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
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 chilling in the Monastery: (12)
As of 2015-07-07 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls