Regex101
Regex101 copied to clipboard
Support for Python 3.8 regex changes: `\N{name}` escape
Feature
Python 3.8 introduces the \N{name}
escape sequence. See here (scroll to the bottom of the section or CRTL+F and search for Changed in version 3.8
).
It allows expressions like r"\N{KATAKANA LETTER A}"
which will match "ア"
and improves readability; the following strings are equivalent: r" " == r"\u3000" == r"\N{IDEOGRAPHIC SPACE}"
.
It would be nice to have this feature available on the website.
Python on the website needs an update as a whole because it was designed for old python, I believe this is being worked on, @firasdib ?