Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
LICENSE | D | 03-May-2024 | 1.1 KiB | 20 | 17 | |
README | D | 03-May-2024 | 736 | 18 | 12 | |
basic.dat | D | 03-May-2024 | 8.5 KiB | 222 | 220 | |
nullsubexpr.dat | D | 03-May-2024 | 2 KiB | 80 | 71 | |
repetition.dat | D | 03-May-2024 | 6.6 KiB | 164 | 133 |
README
1Test data was taken from the Go distribution, which was in turn taken from the 2testregex test suite: 3 4 http://www2.research.att.com/~astopen/testregex/testregex.html 5 6The LICENSE in this directory corresponds to the LICENSE that the data was 7released under. 8 9The tests themselves were modified for RE2/Go. A couple were modified further 10by 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 12have been a bad idea, but I think being consistent with an established Regex 13library is worth something. 14 15Note that these files are read by 'scripts/regex-match-tests.py' and turned 16into Rust tests found in 'regex_macros/tests/matches.rs'. 17 18