aboutsummaryrefslogtreecommitdiff
path: root/test/test_syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_syntax.c')
-rw-r--r--test/test_syntax.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_syntax.c b/test/test_syntax.c
index b07fe67..bbf0100 100644
--- a/test/test_syntax.c
+++ b/test/test_syntax.c
@@ -1,6 +1,6 @@
/*
* test_syntax.c
- * Copyright (c) 2019-2021 K.Kosako
+ * Copyright (c) 2019-2024 K.Kosako
*/
#ifdef ONIG_ESCAPE_UCHAR_COLLISION
#undef ONIG_ESCAPE_UCHAR_COLLISION
@@ -340,6 +340,9 @@ extern int main(int argc, char* argv[])
test_BRE_anchors();
x2("zz\\|^ab", "ab", 0, 2);
x2("ab$\\|zz", "ab", 0, 2);
+ x2("*", "*", 0, 1);
+ x2("^*", "*", 0, 1);
+ x2("abc\\|?", "?", 0, 1);
Syntax = ONIG_SYNTAX_PERL_NG;