Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
405
third-party/vendor/regex/testdata/fowler/nullsubexpr.toml
vendored
Normal file
405
third-party/vendor/regex/testdata/fowler/nullsubexpr.toml
vendored
Normal file
|
|
@ -0,0 +1,405 @@
|
|||
# !!! DO NOT EDIT !!!
|
||||
# Automatically generated by 'regex-cli generate fowler'.
|
||||
# Numbers in the test names correspond to the line number of the test from
|
||||
# the original dat file.
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr3"
|
||||
regex = '''(a*)*'''
|
||||
haystack = '''a'''
|
||||
matches = [[[0, 1], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr4"
|
||||
regex = '''(a*)*'''
|
||||
haystack = '''x'''
|
||||
matches = [[[0, 0], [0, 0]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr5"
|
||||
regex = '''(a*)*'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr6"
|
||||
regex = '''(a*)*'''
|
||||
haystack = '''aaaaaax'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr7"
|
||||
regex = '''(a*)+'''
|
||||
haystack = '''a'''
|
||||
matches = [[[0, 1], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr8"
|
||||
regex = '''(a*)+'''
|
||||
haystack = '''x'''
|
||||
matches = [[[0, 0], [0, 0]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr9"
|
||||
regex = '''(a*)+'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr10"
|
||||
regex = '''(a*)+'''
|
||||
haystack = '''aaaaaax'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr11"
|
||||
regex = '''(a+)*'''
|
||||
haystack = '''a'''
|
||||
matches = [[[0, 1], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr12"
|
||||
regex = '''(a+)*'''
|
||||
haystack = '''x'''
|
||||
matches = [[[0, 0], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr13"
|
||||
regex = '''(a+)*'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr14"
|
||||
regex = '''(a+)*'''
|
||||
haystack = '''aaaaaax'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr15"
|
||||
regex = '''(a+)+'''
|
||||
haystack = '''a'''
|
||||
matches = [[[0, 1], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr16"
|
||||
regex = '''(a+)+'''
|
||||
haystack = '''x'''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr17"
|
||||
regex = '''(a+)+'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr18"
|
||||
regex = '''(a+)+'''
|
||||
haystack = '''aaaaaax'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr20"
|
||||
regex = '''([a]*)*'''
|
||||
haystack = '''a'''
|
||||
matches = [[[0, 1], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr21"
|
||||
regex = '''([a]*)*'''
|
||||
haystack = '''x'''
|
||||
matches = [[[0, 0], [0, 0]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr22"
|
||||
regex = '''([a]*)*'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr23"
|
||||
regex = '''([a]*)*'''
|
||||
haystack = '''aaaaaax'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr24"
|
||||
regex = '''([a]*)+'''
|
||||
haystack = '''a'''
|
||||
matches = [[[0, 1], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr25"
|
||||
regex = '''([a]*)+'''
|
||||
haystack = '''x'''
|
||||
matches = [[[0, 0], [0, 0]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr26"
|
||||
regex = '''([a]*)+'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr27"
|
||||
regex = '''([a]*)+'''
|
||||
haystack = '''aaaaaax'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr28"
|
||||
regex = '''([^b]*)*'''
|
||||
haystack = '''a'''
|
||||
matches = [[[0, 1], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr29"
|
||||
regex = '''([^b]*)*'''
|
||||
haystack = '''b'''
|
||||
matches = [[[0, 0], [0, 0]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr30"
|
||||
regex = '''([^b]*)*'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr31"
|
||||
regex = '''([^b]*)*'''
|
||||
haystack = '''aaaaaab'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr32"
|
||||
regex = '''([ab]*)*'''
|
||||
haystack = '''a'''
|
||||
matches = [[[0, 1], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr33"
|
||||
regex = '''([ab]*)*'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr34"
|
||||
regex = '''([ab]*)*'''
|
||||
haystack = '''ababab'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr35"
|
||||
regex = '''([ab]*)*'''
|
||||
haystack = '''bababa'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr36"
|
||||
regex = '''([ab]*)*'''
|
||||
haystack = '''b'''
|
||||
matches = [[[0, 1], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr37"
|
||||
regex = '''([ab]*)*'''
|
||||
haystack = '''bbbbbb'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr38"
|
||||
regex = '''([ab]*)*'''
|
||||
haystack = '''aaaabcde'''
|
||||
matches = [[[0, 5], [0, 5]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr39"
|
||||
regex = '''([^a]*)*'''
|
||||
haystack = '''b'''
|
||||
matches = [[[0, 1], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr40"
|
||||
regex = '''([^a]*)*'''
|
||||
haystack = '''bbbbbb'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr41"
|
||||
regex = '''([^a]*)*'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 0], [0, 0]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr42"
|
||||
regex = '''([^ab]*)*'''
|
||||
haystack = '''ccccxx'''
|
||||
matches = [[[0, 6], [0, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr43"
|
||||
regex = '''([^ab]*)*'''
|
||||
haystack = '''ababab'''
|
||||
matches = [[[0, 0], [0, 0]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by Rust regex project.
|
||||
[[test]]
|
||||
name = "nullsubexpr46"
|
||||
regex = '''((z)+|a)*'''
|
||||
haystack = '''zabcde'''
|
||||
matches = [[[0, 2], [1, 2], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr64"
|
||||
regex = '''(a*)*(x)'''
|
||||
haystack = '''x'''
|
||||
matches = [[[0, 1], [0, 0], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr65"
|
||||
regex = '''(a*)*(x)'''
|
||||
haystack = '''ax'''
|
||||
matches = [[[0, 2], [0, 1], [1, 2]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr66"
|
||||
regex = '''(a*)*(x)'''
|
||||
haystack = '''axa'''
|
||||
matches = [[[0, 2], [0, 1], [1, 2]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr68"
|
||||
regex = '''(a*)+(x)'''
|
||||
haystack = '''x'''
|
||||
matches = [[[0, 1], [0, 0], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr69"
|
||||
regex = '''(a*)+(x)'''
|
||||
haystack = '''ax'''
|
||||
matches = [[[0, 2], [0, 1], [1, 2]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr70"
|
||||
regex = '''(a*)+(x)'''
|
||||
haystack = '''axa'''
|
||||
matches = [[[0, 2], [0, 1], [1, 2]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr72"
|
||||
regex = '''(a*){2}(x)'''
|
||||
haystack = '''x'''
|
||||
matches = [[[0, 1], [0, 0], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr73"
|
||||
regex = '''(a*){2}(x)'''
|
||||
haystack = '''ax'''
|
||||
matches = [[[0, 2], [1, 1], [1, 2]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "nullsubexpr74"
|
||||
regex = '''(a*){2}(x)'''
|
||||
haystack = '''axa'''
|
||||
matches = [[[0, 2], [1, 1], [1, 2]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue