rustc/vendor/regex-automata-0.2.0/tests/data/fowler/nullsubexpr.toml
2024-05-29 11:23:22 +02:00

406 lines
6.9 KiB
TOML

# !!! DO NOT EDIT !!!
# Automatically generated by scripts/fowler-to-toml.
# Numbers in the test names correspond to the line number of the test from
# the original dat file.
[[tests]]
name = "nullsubexpr3"
regex = '''(a*)*'''
input = '''a'''
captures = [[[0, 1], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr5"
regex = '''(a*)*'''
input = '''x'''
captures = [[[0, 0], []]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr6"
regex = '''(a*)*'''
input = '''aaaaaa'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr7"
regex = '''(a*)*'''
input = '''aaaaaax'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr8"
regex = '''(a*)+'''
input = '''a'''
captures = [[[0, 1], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr9"
regex = '''(a*)+'''
input = '''x'''
captures = [[[0, 0], [0, 0]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr10"
regex = '''(a*)+'''
input = '''aaaaaa'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr11"
regex = '''(a*)+'''
input = '''aaaaaax'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr12"
regex = '''(a+)*'''
input = '''a'''
captures = [[[0, 1], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr13"
regex = '''(a+)*'''
input = '''x'''
captures = [[[0, 0]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr14"
regex = '''(a+)*'''
input = '''aaaaaa'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr15"
regex = '''(a+)*'''
input = '''aaaaaax'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr16"
regex = '''(a+)+'''
input = '''a'''
captures = [[[0, 1], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr17"
regex = '''(a+)+'''
input = '''x'''
captures = []
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr18"
regex = '''(a+)+'''
input = '''aaaaaa'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr19"
regex = '''(a+)+'''
input = '''aaaaaax'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr21"
regex = '''([a]*)*'''
input = '''a'''
captures = [[[0, 1], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr23"
regex = '''([a]*)*'''
input = '''x'''
captures = [[[0, 0], []]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr24"
regex = '''([a]*)*'''
input = '''aaaaaa'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr25"
regex = '''([a]*)*'''
input = '''aaaaaax'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr26"
regex = '''([a]*)+'''
input = '''a'''
captures = [[[0, 1], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr27"
regex = '''([a]*)+'''
input = '''x'''
captures = [[[0, 0], [0, 0]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr28"
regex = '''([a]*)+'''
input = '''aaaaaa'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr29"
regex = '''([a]*)+'''
input = '''aaaaaax'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr30"
regex = '''([^b]*)*'''
input = '''a'''
captures = [[[0, 1], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr32"
regex = '''([^b]*)*'''
input = '''b'''
captures = [[[0, 0], []]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr33"
regex = '''([^b]*)*'''
input = '''aaaaaa'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr34"
regex = '''([^b]*)*'''
input = '''aaaaaab'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr35"
regex = '''([ab]*)*'''
input = '''a'''
captures = [[[0, 1], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr36"
regex = '''([ab]*)*'''
input = '''aaaaaa'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr37"
regex = '''([ab]*)*'''
input = '''ababab'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr38"
regex = '''([ab]*)*'''
input = '''bababa'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr39"
regex = '''([ab]*)*'''
input = '''b'''
captures = [[[0, 1], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr40"
regex = '''([ab]*)*'''
input = '''bbbbbb'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr41"
regex = '''([ab]*)*'''
input = '''aaaabcde'''
captures = [[[0, 5], [0, 5]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr42"
regex = '''([^a]*)*'''
input = '''b'''
captures = [[[0, 1], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr43"
regex = '''([^a]*)*'''
input = '''bbbbbb'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr45"
regex = '''([^a]*)*'''
input = '''aaaaaa'''
captures = [[[0, 0], []]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr46"
regex = '''([^ab]*)*'''
input = '''ccccxx'''
captures = [[[0, 6], [0, 6]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr48"
regex = '''([^ab]*)*'''
input = '''ababab'''
captures = [[[0, 0], []]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr50"
regex = '''((z)+|a)*'''
input = '''zabcde'''
captures = [[[0, 2], [1, 2]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr69"
regex = '''(a*)*(x)'''
input = '''x'''
captures = [[[0, 1], [], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr70"
regex = '''(a*)*(x)'''
input = '''ax'''
captures = [[[0, 2], [0, 1], [1, 2]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr71"
regex = '''(a*)*(x)'''
input = '''axa'''
captures = [[[0, 2], [0, 1], [1, 2]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr73"
regex = '''(a*)+(x)'''
input = '''x'''
captures = [[[0, 1], [0, 0], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr74"
regex = '''(a*)+(x)'''
input = '''ax'''
captures = [[[0, 2], [0, 1], [1, 2]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr75"
regex = '''(a*)+(x)'''
input = '''axa'''
captures = [[[0, 2], [0, 1], [1, 2]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr77"
regex = '''(a*){2}(x)'''
input = '''x'''
captures = [[[0, 1], [0, 0], [0, 1]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr78"
regex = '''(a*){2}(x)'''
input = '''ax'''
captures = [[[0, 2], [1, 1], [1, 2]]]
match_limit = 1
unescape = true
[[tests]]
name = "nullsubexpr79"
regex = '''(a*){2}(x)'''
input = '''axa'''
captures = [[[0, 2], [1, 1], [1, 2]]]
match_limit = 1
unescape = true