- Website: twitter.com/PeterCMartini
- About: I blog about Perl.
Commented on \r, \n, and ... \R ?
Here's the latest discussion (I think): http://www.nntp.perl.org/group/perl.perl5.porters/2013/07/msg204693.html The root idea, which I should have been clearer about, was to have $/ control that kind of matching, and the reason it got shut down (or at least deferred) is the fact...
Posted \r, \n, and ... \R ? to Peter Martini
It's common knowledge that on Windows, a line of text generally ends with a \r\n characters sequence, and on a POSIX system a line of text will end with \n.
Less well known is Perl's support for the escape sequence '\R'.
It's definitely not the i…
Posted Subroutine Signatures - my Plan (v.1) to Peter Martini
There has been quite a lot of discussion on p5p about subroutine signatures, so I figured I'd lay out my current vision here with as much details as I can. As more of this gets hashed out on p5p, I expect I'll add notes at the bottom (can I do that?) pointing to a blog entry for Subroutine…
Aristotle commented on
\r, \n, and ... \R ?
However hard it may be, I do hope that one day we get a pause-and-ask-for-more mechanism in the regexp engine…
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.