If you need to work with Unicrap, er.. Unicode, use Unicode named property assertions.
print for split /\P{Alnum}+/, 'αβζ#!אש<>!&# +1046;ИУ+sdfg.%12'; αβζ אש ЖИУ sdfg 12
Sigh. Imagine that those were not automatically converted to HTML codepoints.
In reply to Re^2: requesting small regex
by thundergnat
in thread requesting small regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |