develooper Front page | perl.perl5.porters | Postings from July 2010

Re: RFC: space vs. time vs. functionality in \N{name} loose matching

Thread Previous | Thread Next
From:
karl williamson
Date:
July 29, 2010 12:21
Subject:
Re: RFC: space vs. time vs. functionality in \N{name} loose matching
Message ID:
4C51D4B5.3010706@khwilliamson.com
David Golden wrote:
> On Thu, Jul 29, 2010 at 12:08 PM, karl williamson
> <public@khwilliamson.com> wrote:
>> Concisely, it is essentially the equivalent of a Unix 'diff -i -w', but with
>> most hyphens considered to be white space as well.  Currently, when you say
>> \N{LATIN CAPITAL LETTER A}, you currently must get the spacing exactly right
>> and use all caps with no dashes for it to be understood. Loose matching
>> would have, to use an extreme example, \N{La t in Capital letter-a} mean the
>> same thing.
> 
> I think I favor your option #3, which seems to be "strict names by
> default, unless you ask perl to dwim".


Sorry for being unclear.  Yes it means the current behavior unless you 
ask specifically for the new, loose behavior.

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