rust/src/test
bors eea4909a87 auto merge of #13700 : BurntSushi/rust/regexp, r=alexcrichton
Implements [RFC 7](https://github.com/rust-lang/rfcs/blob/master/active/0007-regexps.md) and will hopefully resolve #3591. The crate is marked as experimental. It includes a syntax extension for compiling regexps to native Rust code.

Embeds and passes the `basic`, `nullsubexpr` and `repetition` tests from [Glenn Fowler's (slightly modified by Russ Cox for leftmost-first semantics) testregex test suite](http://www2.research.att.com/~astopen/testregex/testregex.html). I've also hand written a plethora of other tests that exercise Unicode support, the parser, public API, etc. Also includes a `regex-dna` benchmark for the shootout.

I know the addition looks huge at first, but consider these things:

1. More than half the number of lines is dedicated to Unicode character classes.
2. Of the ~4,500 lines remaining, 1,225 of them are comments.
3. Another ~800 are tests.
4. That leaves 2500 lines for the meat. The parser is ~850 of them. The public API, compiler, dynamic VM and code generator (for `regexp!`) make up the rest.
2014-04-24 23:41:15 -07:00
..
auxiliary Allow inheritance between structs. 2014-04-20 13:41:18 +12:00
bench Ignore regex tests (regular, cfail and benchmark) on Windows (for now). 2014-04-25 01:37:27 -04:00
codegen Add pub to all the codegen tests 2013-10-10 06:00:51 -07:00
compile-fail Ignore regex tests (regular, cfail and benchmark) on Windows (for now). 2014-04-25 01:37:27 -04:00
debug-info Allow inheritance between structs. 2014-04-20 13:41:18 +12:00
pretty Replace all ~"" with "".to_owned() 2014-04-18 17:25:34 -07:00
run-fail Move task::task() to TaskBuilder::new() 2014-04-23 20:02:02 -07:00
run-make rustc: Don't die when a crate id can't be inferred 2014-04-23 10:04:29 -07:00
run-pass Cleaned up os::consts. The module only exposes constants for the target OS and arch. 2014-04-25 00:38:05 -04:00
run-pass-fulldeps Enable use of syntax extensions when cross compiling. 2014-04-23 20:33:54 +01:00