4 ms·
Note that regex is not the re module from the stdlib, it's a separate third party module that exposes the more powerful capabilities of PCRE like grapheme clust
by AlotOfReading 2y ago
Note that regex is not the re module from the stdlib, it's a separate third party module that exposes the more powerful capabilities of PCRE like grapheme clustering directly.
- simonw 2y agoThat's a good callout, here's the docs for \X in that regex module: https://github.com/mrabarnett/mrab-regex?tab=readme-ov-file#matching-a-single-grapheme-x https://github.com/mrabarnett/mrab-regex?tab=readme-ov-file#...