Unicode Categories

2010-11-10 Thread Chase Albert
Sorry if this is the wrong forum. I was wondering if there was a way to specify unicode categoriesin a regular expression (and hence a grammar), or if there would be any consideration for adding support for that (requiring some kind of spe

Re: Unicode Categories

2010-11-10 Thread Patrick R. Michaud
On Wed, Nov 10, 2010 at 01:03:26PM -0500, Chase Albert wrote: > Sorry if this is the wrong forum. I was wondering if there was a way to > specify unicode > categoriesin > a regular expression (and hence a grammar), or if there would be any

Re: Unicode Categories

2010-11-10 Thread Chase Albert
That's exactly what I was looking for*. Awesome, thank you. ~Cheers * Almost. E.g. isL would be nice to have as well. On Wed, Nov 10, 2010 at 13:15, Patrick R. Michaud wrote: > "Unicode > properties are always available with a prefix" >

Re: Unicode Categories

2010-11-10 Thread Patrick R. Michaud
On Wed, Nov 10, 2010 at 01:21:57PM -0500, Chase Albert wrote: > That's exactly what I was looking for*. Awesome, thank you. > > * Almost. E.g. isL would be nice to have as well. Those exist also: $ ./perl6 > say 'abCD34' ~~ / / a > say 'abCD34' ~~ / / 3 > Pm

Re: Unicode Categories

2010-11-10 Thread Chase Albert
Even awesomer, thank you again. On Wed, Nov 10, 2010 at 13:28, Patrick R. Michaud wrote: > On Wed, Nov 10, 2010 at 01:21:57PM -0500, Chase Albert wrote: > > That's exactly what I was looking for*. Awesome, thank you. > > > > * Almost. E.g. isL would be nice to have as well. > > Those exist also:

Re: Unicode Categories

2010-11-10 Thread Tom Christiansen
Patrick wrote at 12:15pm CST on Wednesday, 10 November 2010: >> Sorry if this is the wrong forum. I was wondering if there was a way to >> specify unicode >> categoriesin >> a regular expression (and hence a grammar), or if there would be

Re: Unicode Categories

2010-11-10 Thread Tom Christiansen
Patrick wrote: : > * Almost. E.g. isL would be nice to have as well. : : Those exist also: : : $ ./perl6 : > say 'abCD34' ~~ / / : a : > say 'abCD34' ~~ / / : 3 : > They may exist, but I'm not certain it's a good idea to encourage the Is_XXX approach on *anything* except Script=XXX proper