From 7ad1a2b2cc57b5f4bcb59186a9a8abcbed9f4f76 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 11 Nov 2022 18:22:00 +0000 Subject: Fix regex substring capture variables for null matches (again). Bug 2933 Broken-by: 59d66fdc13f0 --- test/stdout/0002 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/stdout/0002') diff --git a/test/stdout/0002 b/test/stdout/0002 index 9232089f6..835d00528 100644 --- a/test/stdout/0002 +++ b/test/stdout/0002 @@ -443,6 +443,8 @@ newline tab\134backslash ~tilde\177DEL\200\201. > match: cdab > Failed: "if" failed and "fail" requested > match: cd[xyz]ab +> # check for empty capture group +> match: <> > > match_domain: yes > match_domain: no -- cgit v1.2.3