about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-05-13 00:59:00 +0200
committerOliver Kiddle <opk@zsh.org>2023-05-13 00:59:00 +0200
commitb4d1c756f50909b4a13e5c8fe5f26f71e9d54f63 (patch)
tree3fa4474040f6c81e340e2dffa93c5ecdd695c608 /Test
parentf3f371deb376478176866fd770fbcf9bc0d0609f (diff)
downloadzsh-b4d1c756f50909b4a13e5c8fe5f26f71e9d54f63.tar.gz
zsh-b4d1c756f50909b4a13e5c8fe5f26f71e9d54f63.tar.xz
zsh-b4d1c756f50909b4a13e5c8fe5f26f71e9d54f63.zip
51738: support pcre's alternative DFA matching algorithm
Diffstat (limited to 'Test')
-rw-r--r--Test/V07pcre.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/V07pcre.ztst b/Test/V07pcre.ztst
index 027fea3aa..585698d05 100644
--- a/Test/V07pcre.ztst
+++ b/Test/V07pcre.ztst
@@ -196,3 +196,8 @@
 >  [package]=name-12345
 >  [version]=12345
 >)
+
+  pcre_compile 'cat(er(pillar)?)?'
+  pcre_match -d 'the caterpillar catchment' && print $match
+0:pcre_match -d
+>caterpillar cater cat