misc + remove useless escaping in bracket

This commit is contained in:
Kyryl Melekhin
2021-08-10 11:02:35 +00:00
parent 6a3be3927e
commit 83f0a4d6f9
3 changed files with 7 additions and 12 deletions

View File

@@ -103,6 +103,8 @@ qwerty.*$
(a|aa)*
(a|aa)*
(aaaa|aaa|a){3,4}
(a)(a)
(a){2}
"
input="\
abcdef
@@ -207,6 +209,8 @@ aaaa
aaaaa
aaaaaa
aaaaaaaaaa
aaaa
aaaa
"
expect="\
(0,3)
@@ -311,6 +315,8 @@ expect="\
(0,5)(4,5)
(0,6)(5,6)
(0,10)(9,10)
(0,2)(0,1)(1,2)
(0,2)(1,2)
(0,0)
"