Skip to content

Commit

Permalink
Auto merge of #371 - BurntSushi:ag-0.2.2, r=BurntSushi
Browse files Browse the repository at this point in the history
release 0.2.2
  • Loading branch information
bors committed May 21, 2017
2 parents 548cb19 + 28174ba commit 4f2bdcb
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,39 @@
0.2.2 (2017-05-21)
==================
New features:

* [FEATURE #341](https://github.com/rust-lang/regex/issues/341):
Support nested character classes and intersection operation.
For example, `[\p{Greek}&&\pL]` matches greek letters and
`[[0-9]&&[^4]]` matches every decimal digit except `4`.
(Much thanks to @robinst, who contributed this awesome feature.)

Bug fixes:

* [BUG #321](https://github.com/rust-lang/regex/issues/321):
Fix bug in literal extraction and UTF-8 decoding.
* [BUG #326](https://github.com/rust-lang/regex/issues/326):
Add documentation tip about the `(?x)` flag.
* [BUG #333](https://github.com/rust-lang/regex/issues/333):
Show additional replacement example using curly braces.
* [BUG #334](https://github.com/rust-lang/regex/issues/334):
Fix bug when resolving captures after a match.
* [BUG #338](https://github.com/rust-lang/regex/issues/338):
Add example that uses `Captures::get` to API documentation.
* [BUG #353](https://github.com/rust-lang/regex/issues/353):
Fix RegexSet bug that caused match failure in some cases.
* [BUG #354](https://github.com/rust-lang/regex/pull/354):
Fix panic in parser when `(?x)` is used.
* [BUG #358](https://github.com/rust-lang/regex/issues/358):
Fix literal optimization bug with RegexSet.
* [BUG #359](https://github.com/rust-lang/regex/issues/359):
Fix example code in README.
* [BUG #365](https://github.com/rust-lang/regex/pull/365):
Fix bug in `rure_captures_len` in the C binding.
* [BUG #367](https://github.com/rust-lang/regex/issues/367):
Fix byte class bug that caused a panic.


0.2.1
=====
One major bug with `replace_all` has been fixed along with a couple of other
Expand All @@ -13,6 +49,7 @@ touchups.
* [BUG #324](https://github.com/rust-lang/regex/issues/324):
Compiling `regex` should only require one version of `memchr` crate.


0.2.0
=====
This is a new major release of the regex crate, and is an implementation of the
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "regex"
version = "0.2.1" #:version
version = "0.2.2" #:version
authors = ["The Rust Project Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand All @@ -21,7 +21,7 @@ memchr = "1.0.0"
# For managing regex caches quickly across multiple threads.
thread_local = "0.3.2"
# For parsing regular expressions.
regex-syntax = { path = "regex-syntax", version = "0.4.0" }
regex-syntax = { path = "regex-syntax", version = "0.4.1" }
# For accelerating text search.
simd = { version = "0.1.1", optional = true }
# For compiling UTF-8 decoding into automata.
Expand Down
2 changes: 1 addition & 1 deletion regex-syntax/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "regex-syntax"
version = "0.4.0" #:version
version = "0.4.1" #:version
authors = ["The Rust Project Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang/regex"
Expand Down

0 comments on commit 4f2bdcb

Please sign in to comment.