factor out recursion

This commit is contained in:
Kyryl Melekhin
2022-04-21 14:13:14 +00:00
parent 8bee489e34
commit e26cb69a45
2 changed files with 51 additions and 47 deletions

View File

@@ -171,6 +171,7 @@ aaaaa(aa)aa(aa(a)a)?aa
[0-9]+.(.*)
([0-9])+.(.*)
(([0-9])+)(.)(.*)
(abc|sjd|qwq(hs|qw|oo)|(ty|xx|pp)we)
"
input="\
abcdef
@@ -343,6 +344,7 @@ h:98: :3234utt;strokeliin:miter;stroke-mirlimit:10;stroke-dasharray:none;strok
650-253-000123434-45551221
650-253-000123434-45551221
650-253-000123434-455512213224hsaqer
ppwe
"
expect="\
(0,3)
@@ -515,6 +517,7 @@ expect="\
(0,26)(4,26)
(0,26)(2,3)(4,26)
(0,36)(0,3)(2,3)(3,4)(4,36)
(0,4)(0,4)(?,?)(0,2)
(0,0)
"