1c67d6573Sopenharmony_ciTest data was taken from the Go distribution, which was in turn taken from the
2c67d6573Sopenharmony_citestregex test suite:
3c67d6573Sopenharmony_ci
4c67d6573Sopenharmony_ci  http://www2.research.att.com/~astopen/testregex/testregex.html
5c67d6573Sopenharmony_ci
6c67d6573Sopenharmony_ciThe LICENSE in this directory corresponds to the LICENSE that the data was
7c67d6573Sopenharmony_cireleased under.
8c67d6573Sopenharmony_ci
9c67d6573Sopenharmony_ciThe tests themselves were modified for RE2/Go. A couple were modified further
10c67d6573Sopenharmony_ciby me (Andrew Gallant) (only in repetition.dat) so that RE2/Go would pass them.
11c67d6573Sopenharmony_ci(Yes, it seems like RE2/Go includes failing test cases.) This may or may not
12c67d6573Sopenharmony_cihave been a bad idea, but I think being consistent with an established Regex
13c67d6573Sopenharmony_cilibrary is worth something.
14c67d6573Sopenharmony_ci
15c67d6573Sopenharmony_ciNote that these files are read by 'scripts/regex-match-tests.py' and turned
16c67d6573Sopenharmony_ciinto Rust tests found in 'regex_macros/tests/matches.rs'.
17c67d6573Sopenharmony_ci
18