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 <evgeny-ode...@mail.ru> wrote: > 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.ñéü") ;==> '(".ñéü") >> (regexp-match #px"\\.\\p{N}+$" "zz.123") ;==> '(".123") >> >> (regexp-match #px"\\.(\\p{N}|\\p{L})+$" "zz.1ñ3é") ;==> '(".1ñ2é" "é") >> [but I want only '(".1ñ2é")] >> >> Gustavo >> > > Look at > http://docs.racket-lang.org/guide/regexp-clusters.html#%28part._.Non-capturing_.Clusters%29 -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.