3 ms·
Some libs such as PCRE can match by character properties, for example \pL would match any unicode letter. Doing that in a loop seems to be much more difficult.
by fooyc 15y ago
Some libs such as PCRE can match by character properties, for example \pL would match any unicode letter.
Doing that in a loop seems to be much more difficult. And unless you work on utf-32 data, you have to handle variable-size encoding of characters.