Skip to content

Commit 4f2bdcb

Browse files
committed
Auto merge of #371 - BurntSushi:ag-0.2.2, r=BurntSushi
release 0.2.2
2 parents 548cb19 + 28174ba commit 4f2bdcb

File tree

3 files changed

+40
-3
lines changed

3 files changed

+40
-3
lines changed

Diff for: CHANGELOG.md

+37
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
0.2.2 (2017-05-21)
2+
==================
3+
New features:
4+
5+
* [FEATURE #341](https://github.com/rust-lang/regex/issues/341):
6+
Support nested character classes and intersection operation.
7+
For example, `[\p{Greek}&&\pL]` matches greek letters and
8+
`[[0-9]&&[^4]]` matches every decimal digit except `4`.
9+
(Much thanks to @robinst, who contributed this awesome feature.)
10+
11+
Bug fixes:
12+
13+
* [BUG #321](https://github.com/rust-lang/regex/issues/321):
14+
Fix bug in literal extraction and UTF-8 decoding.
15+
* [BUG #326](https://github.com/rust-lang/regex/issues/326):
16+
Add documentation tip about the `(?x)` flag.
17+
* [BUG #333](https://github.com/rust-lang/regex/issues/333):
18+
Show additional replacement example using curly braces.
19+
* [BUG #334](https://github.com/rust-lang/regex/issues/334):
20+
Fix bug when resolving captures after a match.
21+
* [BUG #338](https://github.com/rust-lang/regex/issues/338):
22+
Add example that uses `Captures::get` to API documentation.
23+
* [BUG #353](https://github.com/rust-lang/regex/issues/353):
24+
Fix RegexSet bug that caused match failure in some cases.
25+
* [BUG #354](https://github.com/rust-lang/regex/pull/354):
26+
Fix panic in parser when `(?x)` is used.
27+
* [BUG #358](https://github.com/rust-lang/regex/issues/358):
28+
Fix literal optimization bug with RegexSet.
29+
* [BUG #359](https://github.com/rust-lang/regex/issues/359):
30+
Fix example code in README.
31+
* [BUG #365](https://github.com/rust-lang/regex/pull/365):
32+
Fix bug in `rure_captures_len` in the C binding.
33+
* [BUG #367](https://github.com/rust-lang/regex/issues/367):
34+
Fix byte class bug that caused a panic.
35+
36+
137
0.2.1
238
=====
339
One major bug with `replace_all` has been fixed along with a couple of other
@@ -13,6 +49,7 @@ touchups.
1349
* [BUG #324](https://github.com/rust-lang/regex/issues/324):
1450
Compiling `regex` should only require one version of `memchr` crate.
1551

52+
1653
0.2.0
1754
=====
1855
This is a new major release of the regex crate, and is an implementation of the

Diff for: Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "regex"
3-
version = "0.2.1" #:version
3+
version = "0.2.2" #:version
44
authors = ["The Rust Project Developers"]
55
license = "MIT/Apache-2.0"
66
readme = "README.md"
@@ -21,7 +21,7 @@ memchr = "1.0.0"
2121
# For managing regex caches quickly across multiple threads.
2222
thread_local = "0.3.2"
2323
# For parsing regular expressions.
24-
regex-syntax = { path = "regex-syntax", version = "0.4.0" }
24+
regex-syntax = { path = "regex-syntax", version = "0.4.1" }
2525
# For accelerating text search.
2626
simd = { version = "0.1.1", optional = true }
2727
# For compiling UTF-8 decoding into automata.

Diff for: regex-syntax/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "regex-syntax"
3-
version = "0.4.0" #:version
3+
version = "0.4.1" #:version
44
authors = ["The Rust Project Developers"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/rust-lang/regex"

0 commit comments

Comments
 (0)