summaryrefslogtreecommitdiffhomepage
path: root/misc/examples
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-01-12 18:26:16 +0100
committerTyge Løvset <[email protected]>2023-01-12 18:26:16 +0100
commit350bb65a2f68b14ce16a21ea8670cc087e39f4ce (patch)
tree4c92b37b05aa5c1a3ccb695466fa75dbd938bf17 /misc/examples
parent891aebc0a971df8e57618c16ed214d982072cbd3 (diff)
downloadSTC-modified-350bb65a2f68b14ce16a21ea8670cc087e39f4ce.tar.gz
STC-modified-350bb65a2f68b14ce16a21ea8670cc087e39f4ce.zip
docs and utf8 updates.
Diffstat (limited to 'misc/examples')
-rw-r--r--misc/examples/regex2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/regex2.c b/misc/examples/regex2.c
index 66ab9f72..e24cce51 100644
--- a/misc/examples/regex2.c
+++ b/misc/examples/regex2.c
@@ -11,7 +11,7 @@ int main()
"https://en.cppreference.com/w/cpp/regex/regex_search"
},
{"!((abc|123)+)!", "!123abcabc!"},
- {"(\\p{L&}+ )+(\\p{Nd}+)", "Großpackung süßigkeiten 199"},
+ {"(\\p{Alpha}+ )+(\\p{Nd}+)", "Großpackung süßigkeiten 199"},
{"\\p{Han}+", "This is Han: 王明:那是杂志吗?"},
};