
14 Oct
2003
14 Oct
'03
11:52 a.m.
I see that Regex++ always treats ^ and $ as start and end of line rather than start and end of buffer. Perl does this only if the /m switch is used. Is there a simple way to switch between these two interpretations when compiling a regex?

14 Oct
14 Oct
12:03 p.m.
I see that Regex++ always treats ^ and $ as start and end of line rather than start and end of buffer. Perl does this only if the /m switch is used. Is there a simple way to switch between these two interpretations when compiling a regex?
No but you can use \A and \z for that purpose. John.
7802
Age (days ago)
7802
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ben Hutchings
-
John Maddock