summaryrefslogtreecommitdiff
path: root/test/lib/slre.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/slre.c')
-rw-r--r--test/lib/slre.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lib/slre.c b/test/lib/slre.c
index 9b41ea92f38..053d046075e 100644
--- a/test/lib/slre.c
+++ b/test/lib/slre.c
@@ -26,6 +26,9 @@ static const struct re_test re_test[] = {
{ "Gadsby", "^[^eE]*$", 1},
{ "Ernest", "^[^eE]*$", 0},
{ "6d41f0a39d6", "^[0123456789abcdef]*$", 1 },
+ /* DIGIT is 17 */
+ { "##\x11%%\x11", "^[#%\\d]*$", 0 },
+ { "##23%%45", "^[#%\\d]*$", 1 },
{}
};