summaryrefslogtreecommitdiffstats
path: root/vendor/regex-automata/tests/data/expensive.toml
blob: e062e3902617630388e77003f3173d89babb5d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# These represent tests that may be expensive to run on some regex engines. For
# example, tests that build a full DFA ahead of time and minimize it can take a
# horrendously long time on regexes that are large (or result in an explosion
# in the number of states). We group these tests together so that such engines
# can simply skip these tests.

# See: https://github.com/rust-lang/regex/issues/98
[[tests]]
name = "regression-many-repeat-no-stack-overflow"
regex = '^.{1,2500}'
input = "a"
matches = [[0, 1]]