Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
25
third-party/vendor/regex/testdata/leftmost-all.toml
vendored
Normal file
25
third-party/vendor/regex/testdata/leftmost-all.toml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[[test]]
|
||||
name = "alt"
|
||||
regex = 'foo|foobar'
|
||||
haystack = "foobar"
|
||||
matches = [[0, 6]]
|
||||
match-kind = "all"
|
||||
search-kind = "leftmost"
|
||||
|
||||
[[test]]
|
||||
name = "multi"
|
||||
regex = ['foo', 'foobar']
|
||||
haystack = "foobar"
|
||||
matches = [
|
||||
{ id = 1, span = [0, 6] },
|
||||
]
|
||||
match-kind = "all"
|
||||
search-kind = "leftmost"
|
||||
|
||||
[[test]]
|
||||
name = "dotall"
|
||||
regex = '(?s:.)'
|
||||
haystack = "foobar"
|
||||
matches = [[5, 6]]
|
||||
match-kind = "all"
|
||||
search-kind = "leftmost"
|
||||
Loading…
Add table
Add a link
Reference in a new issue