develooper Front page | perl.perl5.porters | Postings from February 2011

Re: Registry for proposed new regex modifiers; was: Optimizingqr/STRING/msixpodual for amusement

Thread Previous | Thread Next
From:
Abigail
Date:
February 21, 2011 09:36
Subject:
Re: Registry for proposed new regex modifiers; was: Optimizingqr/STRING/msixpodual for amusement
Message ID:
20110221173609.GE26984@almanda
On Mon, Feb 21, 2011 at 10:06:44AM -0700, Karl Williamson wrote:
>
> Note that I intend to fix things so that multiple charset modifiers are  
> disallowed, same as in infix (didn't have time before the freeze).
>
> Note also that there are a number of enhancements under consideration  
> for future Perls that will affect all this.
>
> Here are the ones I can think of at the moment:
> /w to change the meaning of \b to Unicode's word boundary algorithm.
> /k to change /i to mean compatible decomposition


Please don't use /k. Having /k means '(?k:)' becoming valid, and that
will interfere with Regexp::Common, which uses '(?k:)'. /p started out
as /k, and it was changed to /p as to not interfere with Regexp::Common.


> /? to change /i to mean canonical decomposition.  I've thought about /i  
> /ii, and /iii for these; but don't think it's a good idea.
> /? to change /i to mean simple case folding, or make that the default  
> and /f to mean full.



Abigail

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