about summary refs log tree commit diff
path: root/src/libregex_macros
AgeCommit message (Collapse)AuthorLines
2014-05-22libcore: Remove all uses of `~str` from `libcore`.Patrick Walton-1/+1
[breaking-change]
2014-05-22libstd: Remove `~str` from all `libstd` modules except `fmt` and `str`.Patrick Walton-3/+3
2014-05-21Change static.rust-lang.org to doc.rust-lang.orgAlex Crichton-1/+1
The new documentation site has shorter urls, gzip'd content, and index.html redirecting functionality.
2014-05-14libregex: Remove all uses of `~str` from `libregex`Patrick Walton-6/+6
2014-05-12Add the patch number to version strings. Closes #13289Brian Anderson-1/+1
2014-05-06librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, exceptPatrick Walton-2/+2
for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change]
2014-05-02auto merge of #13879 : huonw/rust/more-re, r=alexcrichtonbors-87/+37
Commits for details. This shouldn't change the generated code at all (except for switching to `LitBinary` from an explicit ExprVec of individual ExprLit bytes for `prefix_bytes`).
2014-05-02regex_macros: simplify using AstBuilder & the improved quoting.Huon Wilson-87/+37
char literals now work in a quotation. There were several instances of duplicated functionality in regex_macros compared to AstBuilder so refactor those out.
2014-05-01remove leftover obsolete string literalsDaniel Micay-2/+2
2014-04-30regex: General style tweaks.Huon Wilson-4/+2
For loops are nicer than manual whiles, etc.
2014-04-30regex: remove the use of ~[] & some unnecessary ~'s.Huon Wilson-3/+3
The AST doesn't need ~s everywhere, so we can save allocations this way & the enum isn't particularly large (~4 words) nor are regexes long (normally), so the space saved in the `Cat` vector is unlikely to be very much.
2014-04-25Add a regex crate to the Rust distribution.Andrew Gallant-0/+684
Also adds a regex_macros crate, which provides natively compiled regular expressions with a syntax extension. Closes #3591. RFC: 0007-regexps