develooper Front page | perl.perl5.porters | Postings from April 2007

Re: perlrebackslash

Thread Previous | Thread Next
From:
Larry Wall
Date:
April 12, 2007 13:02
Subject:
Re: perlrebackslash
Message ID:
20070412185546.GA20831@wall.org
On Thu, Apr 12, 2007 at 03:23:12PM +0200, Abigail wrote:
:  \v                Short cut for (*PRUNE).
:  \V                Short cut for (*SKIP).

I would suggest reserving these for matching vertical (non)whitespace,
to go along with \h and \H for matching horizontal (non)whitespace.
These have have turned out to be pretty useful for matching horizontal
and vertical whitespace in Perl 6.  And arguably pruning and skipping
should have a longer, more readable Huffman coding in any case.

Larry

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About