summaryrefslogtreecommitdiffhomepage
path: root/misc/examples
diff options
context:
space:
mode:
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: 王明:那是杂志吗?"},
};