Skip to content

Commit 220c076

Browse files
committed
Add another regression test.
1 parent fbd943b commit 220c076

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

regex-syntax/src/literals.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,6 +1390,10 @@ mod tests {
13901390
test_unamb!(unambiguous13,
13911391
vec![M("ABCX"), M("CDAX"), M("BCX")],
13921392
vec![C("A"), C("BCX"), C("CD")]);
1393+
test_unamb!(unambiguous14,
1394+
vec![M("IMGX"), M("MVIX"), M("MGX"), M("DSX")],
1395+
vec![M("DSX"), C("I"), C("MGX"), C("MV")]);
1396+
13931397

13941398
// ************************************************************************
13951399
// Tests for suffix trimming.

0 commit comments

Comments
 (0)