Re: [racket-users] Regular expressions and Unicode categories

2015-05-06 Thread Gustavo Massaccesi
Thanks, I was looking in the "reference" instead of the "guide", and it has more information but less easy examples. [Just for reference: (regexp-match #px"\\.(?:\\p{N}|\\p{L})+$" "zz.1ñ3é") ] Gustavo On Wed, May 6, 2015 at 12:08 AM, Evgeny Odegov wrote: > 05.05.2015 20:41, Gustavo Massaccesi

Re: [racket-users] Regular expressions and Unicode categories

2015-05-05 Thread Evgeny Odegov
05.05.2015 20:41, Gustavo Massaccesi пишет: I was tiring to solve the extended version of a Rosetta code task, but I can't find the correct regexp to match accented letters and numbers: #lang racket (regexp-match #px"\\.\\p{L}+$" "zz.aBc") ;==> '(".aBc") (regexp-match #px"\\.\\p{L}+$" "zz.ñéü")