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