diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2022-02-13 16:39:05 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2022-02-13 16:39:23 +0700 |
commit | dc7cb9d182ba8015895bbfedd6f8148878dda7dc (patch) | |
tree | 296d7b79357760ccea0a10cc9728b7f53345537b | |
parent | cc353a96f3cdaa97f5f9c5a461d411dbabf2dfe0 (diff) | |
download | blog-dc7cb9d182ba8015895bbfedd6f8148878dda7dc.tar.gz |
Add TIL
-rw-r--r-- | content/til/regex-unicode.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/content/til/regex-unicode.md b/content/til/regex-unicode.md new file mode 100644 index 0000000..7611634 --- /dev/null +++ b/content/til/regex-unicode.md @@ -0,0 +1,14 @@ +--- +title: "Unicode in RegEx" +date: 2022-02-13T16:32:53+07:00 +translationKey: regex-unicode +tags: [regex, "regular expression", unicode] +--- + +Today I learned how to match [unicode in RegEx][regex-unicode]. + +For example, unicode-encoded letters (that is, any letters from any language) +can be matched with `\p{L}`. View [an example on RegEx 101][example] + +[regex-unicode]: https://www.regular-expressions.info/unicode.html +[example]: https://regex101.com/r/N602FX/1 |