in reply to Re^2: a farewell to chop
in thread a farewell to chop
...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.
|
|---|