I just retried it and it seems to be my mistake, not escaping the backslashes...

On Dec 16, 2005, at 10:00 PM, Patrick R. Michaud via RT wrote:

On Fri, Dec 16, 2005 at 04:08:27PM -0800, Joshua Isom wrote:
# New Ticket Created by  Joshua Isom
# Please include the string:  [perl #37965]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37965 >


Is PGE's ^^ broken?  From the results I'm getting, ^^ is being treated
like ^, so only matches the beginning of the string, not at the
beginning and after every newline.  $$ seems to work, but the ^^
doesn't.  The pattern I'm using is "^^<gt>\\N*$$|\\n".  This is with
r10555.

Do you have an example target string that it's failing on?
I just tried that pattern with a simple test on my machine and
it seemed to work.

Thanks,

Pm


Reply via email to