about summary refs log tree commit diff
path: root/content/sw-notes/regex-unicode.md
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2024-04-24 22:47:39 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2024-04-24 22:48:05 +0700
commit11a7b9b66ce34258a895d2d875fe1e7c0a278b9c (patch)
treef73ad46b083c4edf90736f99a74609ff1451f59a /content/sw-notes/regex-unicode.md
parent94f18e532f73ea80076953daf9b3a616378e91eb (diff)
downloadblog-11a7b9b66ce34258a895d2d875fe1e7c0a278b9c.tar.gz
Rename TIL to software notes
Diffstat (limited to 'content/sw-notes/regex-unicode.md')
-rw-r--r--content/sw-notes/regex-unicode.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/content/sw-notes/regex-unicode.md b/content/sw-notes/regex-unicode.md
new file mode 100644
index 0000000..97c28b8
--- /dev/null
+++ b/content/sw-notes/regex-unicode.md
@@ -0,0 +1,15 @@
+---
+title: "How to match Unicode in RegEx"
+date: 2022-02-13T16:32:53+07:00
+translationKey: regex-unicode
+categories: [software, guide]
+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