How does it compare to (?:\A|(?<=\n)) ? Isn't that the accurate representation of /^.../m ? You could also try (?<![^\n]) which seems somehow even simpler.
- tye
In reply to Re^6: Surprisingly poor regex performance (apples)
by tye
in thread Surprisingly poor regex performance
by sgifford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |