...but will not handle multi-byte characters.
It will in Perl 6, and already does under the utf8 pragma in Perl 5.6+. Besides, as a Perl 5 regex, it doesn't make sense for $ matches before a trailing \n.
- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.
In reply to Re: Re^2: a farewell to chop
by Juerd
in thread a farewell to chop
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |