develooper Front page | perl.perl5.porters | Postings from October 2009

Re: Rule 1 has been invoked [Re: What should \s \w \d match in5.12?]

Thread Previous | Thread Next
From:
Paul LeoNerd Evans
Date:
October 29, 2009 14:05
Subject:
Re: Rule 1 has been invoked [Re: What should \s \w \d match in5.12?]
Message ID:
20091029210515.49916397@nim.leo
On Thu, 29 Oct 2009 20:50:24 +0000
John <john.imrie@vodafoneemail.co.uk> wrote:

> The moderately good news is that ⅯⅯⅪ should at least be convertible, but 
> I think if we continue down this route we end up having to be able to 
> handle all the worlds numerical systems, which frankly I'd consider a 
> nightmare to handle in the Perl core.

This is in fact the whole point I was getting at.

Since we don't (I think) want to arrive at that end level, it means that
a plain \d should not match any Unicode digit; only [0123456789]. If we
want Unicode we'll ask for it. Such as by my suggested /u regexp modifier.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/


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