Debian Codegraph @

.cargo/vendor/regex/testdata/fowler/dat/README

raw
1 Test data was taken from the Go distribution, which was in turn taken from the
2 testregex test suite:
3
4 http://web.archive.org/web/20150925124103/http://www2.research.att.com/~astopen/testregex/testregex.html
5
6 Unfortunately, the original web site now appears dead, but the test data lives
7 on.
8
9 The LICENSE in this directory corresponds to the LICENSE that the data was
10 originally released under.
11
12 The tests themselves were modified for RE2/Go (and marked as such). A
13 couple were modified further by me (Andrew Gallant) and marked with 'Rust'.
14
15 After some number of years, these tests were transformed into a TOML format
16 using the 'regex-cli generate fowler' command. To re-generate the
17 TOML files, run the following from the root of this repository:
18
19 regex-cli generate fowler tests/data/fowler tests/data/fowler/dat/*.dat
20
21 This assumes that you have 'regex-cli' installed. See 'regex-cli/README.md'
22 from the root of the repository for more information.
23
24 This brings the Fowler tests into a more "sensible" structured format in which
25 other tests can be written such that they aren't write-only.