diff options
| author | Tyge Lovset <[email protected]> | 2023-01-11 23:20:18 +0100 |
|---|---|---|
| committer | Tyge Lovset <[email protected]> | 2023-01-11 23:20:18 +0100 |
| commit | 87690debb5fb523acc3d341c34d20b85d3d63f26 (patch) | |
| tree | 16daa4f3aad726ee5a848ac4a598526d8aff0419 /misc/examples/regex2.c | |
| parent | e03b6f09a2ef716cf50b012f699a44bca528a9b6 (diff) | |
| download | STC-modified-87690debb5fb523acc3d341c34d20b85d3d63f26.tar.gz STC-modified-87690debb5fb523acc3d341c34d20b85d3d63f26.zip | |
cregex/utf8: Added some language char classes.
Diffstat (limited to 'misc/examples/regex2.c')
| -rw-r--r-- | misc/examples/regex2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/examples/regex2.c b/misc/examples/regex2.c index abae5695..66ab9f72 100644 --- a/misc/examples/regex2.c +++ b/misc/examples/regex2.c @@ -12,6 +12,7 @@ int main() }, {"!((abc|123)+)!", "!123abcabc!"}, {"(\\p{L&}+ )+(\\p{Nd}+)", "Großpackung süßigkeiten 199"}, + {"\\p{Han}+", "This is Han: 王明:那是杂志吗?"}, }; c_AUTO (cregex, re) |
