Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
746
third-party/vendor/regex/testdata/fowler/repetition.toml
vendored
Normal file
746
third-party/vendor/regex/testdata/fowler/repetition.toml
vendored
Normal file
|
|
@ -0,0 +1,746 @@
|
|||
# !!! 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 = "repetition10"
|
||||
regex = '''((..)|(.))'''
|
||||
haystack = ''''''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "repetition11"
|
||||
regex = '''((..)|(.))((..)|(.))'''
|
||||
haystack = ''''''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "repetition12"
|
||||
regex = '''((..)|(.))((..)|(.))((..)|(.))'''
|
||||
haystack = ''''''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "repetition14"
|
||||
regex = '''((..)|(.)){1}'''
|
||||
haystack = ''''''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "repetition15"
|
||||
regex = '''((..)|(.)){2}'''
|
||||
haystack = ''''''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "repetition16"
|
||||
regex = '''((..)|(.)){3}'''
|
||||
haystack = ''''''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "repetition18"
|
||||
regex = '''((..)|(.))*'''
|
||||
haystack = ''''''
|
||||
matches = [[[0, 0], [], [], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition20"
|
||||
regex = '''((..)|(.))'''
|
||||
haystack = '''a'''
|
||||
matches = [[[0, 1], [0, 1], [], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition21"
|
||||
regex = '''((..)|(.))((..)|(.))'''
|
||||
haystack = '''a'''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "repetition22"
|
||||
regex = '''((..)|(.))((..)|(.))((..)|(.))'''
|
||||
haystack = '''a'''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "repetition24"
|
||||
regex = '''((..)|(.)){1}'''
|
||||
haystack = '''a'''
|
||||
matches = [[[0, 1], [0, 1], [], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition25"
|
||||
regex = '''((..)|(.)){2}'''
|
||||
haystack = '''a'''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "repetition26"
|
||||
regex = '''((..)|(.)){3}'''
|
||||
haystack = '''a'''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "repetition28"
|
||||
regex = '''((..)|(.))*'''
|
||||
haystack = '''a'''
|
||||
matches = [[[0, 1], [0, 1], [], [0, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition30"
|
||||
regex = '''((..)|(.))'''
|
||||
haystack = '''aa'''
|
||||
matches = [[[0, 2], [0, 2], [0, 2], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition31"
|
||||
regex = '''((..)|(.))((..)|(.))'''
|
||||
haystack = '''aa'''
|
||||
matches = [[[0, 2], [0, 1], [], [0, 1], [1, 2], [], [1, 2]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition32"
|
||||
regex = '''((..)|(.))((..)|(.))((..)|(.))'''
|
||||
haystack = '''aa'''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "repetition34"
|
||||
regex = '''((..)|(.)){1}'''
|
||||
haystack = '''aa'''
|
||||
matches = [[[0, 2], [0, 2], [0, 2], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition35"
|
||||
regex = '''((..)|(.)){2}'''
|
||||
haystack = '''aa'''
|
||||
matches = [[[0, 2], [1, 2], [], [1, 2]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition36"
|
||||
regex = '''((..)|(.)){3}'''
|
||||
haystack = '''aa'''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
[[test]]
|
||||
name = "repetition38"
|
||||
regex = '''((..)|(.))*'''
|
||||
haystack = '''aa'''
|
||||
matches = [[[0, 2], [0, 2], [0, 2], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition40"
|
||||
regex = '''((..)|(.))'''
|
||||
haystack = '''aaa'''
|
||||
matches = [[[0, 2], [0, 2], [0, 2], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition41"
|
||||
regex = '''((..)|(.))((..)|(.))'''
|
||||
haystack = '''aaa'''
|
||||
matches = [[[0, 3], [0, 2], [0, 2], [], [2, 3], [], [2, 3]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition42"
|
||||
regex = '''((..)|(.))((..)|(.))((..)|(.))'''
|
||||
haystack = '''aaa'''
|
||||
matches = [[[0, 3], [0, 1], [], [0, 1], [1, 2], [], [1, 2], [2, 3], [], [2, 3]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition44"
|
||||
regex = '''((..)|(.)){1}'''
|
||||
haystack = '''aaa'''
|
||||
matches = [[[0, 2], [0, 2], [0, 2], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition46"
|
||||
regex = '''((..)|(.)){2}'''
|
||||
haystack = '''aaa'''
|
||||
matches = [[[0, 3], [2, 3], [0, 2], [2, 3]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition47"
|
||||
regex = '''((..)|(.)){3}'''
|
||||
haystack = '''aaa'''
|
||||
matches = [[[0, 3], [2, 3], [], [2, 3]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition50"
|
||||
regex = '''((..)|(.))*'''
|
||||
haystack = '''aaa'''
|
||||
matches = [[[0, 3], [2, 3], [0, 2], [2, 3]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition52"
|
||||
regex = '''((..)|(.))'''
|
||||
haystack = '''aaaa'''
|
||||
matches = [[[0, 2], [0, 2], [0, 2], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition53"
|
||||
regex = '''((..)|(.))((..)|(.))'''
|
||||
haystack = '''aaaa'''
|
||||
matches = [[[0, 4], [0, 2], [0, 2], [], [2, 4], [2, 4], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition54"
|
||||
regex = '''((..)|(.))((..)|(.))((..)|(.))'''
|
||||
haystack = '''aaaa'''
|
||||
matches = [[[0, 4], [0, 2], [0, 2], [], [2, 3], [], [2, 3], [3, 4], [], [3, 4]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition56"
|
||||
regex = '''((..)|(.)){1}'''
|
||||
haystack = '''aaaa'''
|
||||
matches = [[[0, 2], [0, 2], [0, 2], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition57"
|
||||
regex = '''((..)|(.)){2}'''
|
||||
haystack = '''aaaa'''
|
||||
matches = [[[0, 4], [2, 4], [2, 4], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition59"
|
||||
regex = '''((..)|(.)){3}'''
|
||||
haystack = '''aaaa'''
|
||||
matches = [[[0, 4], [3, 4], [0, 2], [3, 4]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition61"
|
||||
regex = '''((..)|(.))*'''
|
||||
haystack = '''aaaa'''
|
||||
matches = [[[0, 4], [2, 4], [2, 4], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition63"
|
||||
regex = '''((..)|(.))'''
|
||||
haystack = '''aaaaa'''
|
||||
matches = [[[0, 2], [0, 2], [0, 2], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition64"
|
||||
regex = '''((..)|(.))((..)|(.))'''
|
||||
haystack = '''aaaaa'''
|
||||
matches = [[[0, 4], [0, 2], [0, 2], [], [2, 4], [2, 4], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition65"
|
||||
regex = '''((..)|(.))((..)|(.))((..)|(.))'''
|
||||
haystack = '''aaaaa'''
|
||||
matches = [[[0, 5], [0, 2], [0, 2], [], [2, 4], [2, 4], [], [4, 5], [], [4, 5]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition67"
|
||||
regex = '''((..)|(.)){1}'''
|
||||
haystack = '''aaaaa'''
|
||||
matches = [[[0, 2], [0, 2], [0, 2], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition68"
|
||||
regex = '''((..)|(.)){2}'''
|
||||
haystack = '''aaaaa'''
|
||||
matches = [[[0, 4], [2, 4], [2, 4], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition70"
|
||||
regex = '''((..)|(.)){3}'''
|
||||
haystack = '''aaaaa'''
|
||||
matches = [[[0, 5], [4, 5], [2, 4], [4, 5]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition73"
|
||||
regex = '''((..)|(.))*'''
|
||||
haystack = '''aaaaa'''
|
||||
matches = [[[0, 5], [4, 5], [2, 4], [4, 5]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition75"
|
||||
regex = '''((..)|(.))'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 2], [0, 2], [0, 2], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition76"
|
||||
regex = '''((..)|(.))((..)|(.))'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 4], [0, 2], [0, 2], [], [2, 4], [2, 4], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition77"
|
||||
regex = '''((..)|(.))((..)|(.))((..)|(.))'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 6], [0, 2], [0, 2], [], [2, 4], [2, 4], [], [4, 6], [4, 6], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition79"
|
||||
regex = '''((..)|(.)){1}'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 2], [0, 2], [0, 2], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition80"
|
||||
regex = '''((..)|(.)){2}'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 4], [2, 4], [2, 4], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition81"
|
||||
regex = '''((..)|(.)){3}'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 6], [4, 6], [4, 6], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition83"
|
||||
regex = '''((..)|(.))*'''
|
||||
haystack = '''aaaaaa'''
|
||||
matches = [[[0, 6], [4, 6], [4, 6], []]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive90"
|
||||
regex = '''X(.?){0,}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [7, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive91"
|
||||
regex = '''X(.?){1,}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [7, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive92"
|
||||
regex = '''X(.?){2,}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [7, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive93"
|
||||
regex = '''X(.?){3,}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [7, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive94"
|
||||
regex = '''X(.?){4,}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [7, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive95"
|
||||
regex = '''X(.?){5,}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [7, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive96"
|
||||
regex = '''X(.?){6,}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [7, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive97"
|
||||
regex = '''X(.?){7,}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [7, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive98"
|
||||
regex = '''X(.?){8,}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [8, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive100"
|
||||
regex = '''X(.?){0,8}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [8, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive102"
|
||||
regex = '''X(.?){1,8}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [8, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive104"
|
||||
regex = '''X(.?){2,8}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [8, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive106"
|
||||
regex = '''X(.?){3,8}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [8, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive108"
|
||||
regex = '''X(.?){4,8}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [8, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive110"
|
||||
regex = '''X(.?){5,8}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [8, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive112"
|
||||
regex = '''X(.?){6,8}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [8, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive114"
|
||||
regex = '''X(.?){7,8}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [8, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive115"
|
||||
regex = '''X(.?){8,8}Y'''
|
||||
haystack = '''X1234567Y'''
|
||||
matches = [[[0, 9], [8, 8]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by Rust regex project.
|
||||
[[test]]
|
||||
name = "repetition-expensive127"
|
||||
regex = '''(a|ab|c|bcd){0,}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 1], [0, 1], [1, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by Rust regex project.
|
||||
[[test]]
|
||||
name = "repetition-expensive129"
|
||||
regex = '''(a|ab|c|bcd){1,}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 1], [0, 1], [1, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive130"
|
||||
regex = '''(a|ab|c|bcd){2,}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [3, 6], [6, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive131"
|
||||
regex = '''(a|ab|c|bcd){3,}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [3, 6], [6, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive132"
|
||||
regex = '''(a|ab|c|bcd){4,}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
# Test added by Rust regex project.
|
||||
[[test]]
|
||||
name = "repetition-expensive134"
|
||||
regex = '''(a|ab|c|bcd){0,10}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 1], [0, 1], [1, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by Rust regex project.
|
||||
[[test]]
|
||||
name = "repetition-expensive136"
|
||||
regex = '''(a|ab|c|bcd){1,10}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 1], [0, 1], [1, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive137"
|
||||
regex = '''(a|ab|c|bcd){2,10}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [3, 6], [6, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive138"
|
||||
regex = '''(a|ab|c|bcd){3,10}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [3, 6], [6, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive139"
|
||||
regex = '''(a|ab|c|bcd){4,10}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
# Test added by Rust regex project.
|
||||
[[test]]
|
||||
name = "repetition-expensive141"
|
||||
regex = '''(a|ab|c|bcd)*(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 1], [0, 1], [1, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by Rust regex project.
|
||||
[[test]]
|
||||
name = "repetition-expensive143"
|
||||
regex = '''(a|ab|c|bcd)+(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 1], [0, 1], [1, 1]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive149"
|
||||
regex = '''(ab|a|c|bcd){0,}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [4, 5], [5, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive151"
|
||||
regex = '''(ab|a|c|bcd){1,}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [4, 5], [5, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive153"
|
||||
regex = '''(ab|a|c|bcd){2,}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [4, 5], [5, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive155"
|
||||
regex = '''(ab|a|c|bcd){3,}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [4, 5], [5, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive156"
|
||||
regex = '''(ab|a|c|bcd){4,}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive158"
|
||||
regex = '''(ab|a|c|bcd){0,10}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [4, 5], [5, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive160"
|
||||
regex = '''(ab|a|c|bcd){1,10}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [4, 5], [5, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive162"
|
||||
regex = '''(ab|a|c|bcd){2,10}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [4, 5], [5, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive164"
|
||||
regex = '''(ab|a|c|bcd){3,10}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [4, 5], [5, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
[[test]]
|
||||
name = "repetition-expensive165"
|
||||
regex = '''(ab|a|c|bcd){4,10}(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = []
|
||||
match-limit = 1
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive167"
|
||||
regex = '''(ab|a|c|bcd)*(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [4, 5], [5, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
# Test added by RE2/Go project.
|
||||
[[test]]
|
||||
name = "repetition-expensive169"
|
||||
regex = '''(ab|a|c|bcd)+(d*)'''
|
||||
haystack = '''ababcd'''
|
||||
matches = [[[0, 6], [4, 5], [5, 6]]]
|
||||
match-limit = 1
|
||||
anchored = true
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue