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


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.
      لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ