diff --git a/CHANGELOG.md b/CHANGELOG.md index b89df723b..1fdf4930c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +1.8.1 (2023-04-21) +================== +This is a patch release that fixes a bug where a regex match could be reported +where none was found. Specifically, the bug occurs when a pattern contains some +literal prefixes that could be extracted _and_ an optional word boundary in the +prefix. + +Bug fixes: + +* [BUG #981](https://github.com/rust-lang/regex/issues/981): +Fix a bug where a word boundary could interact with prefix literal +optimizations and lead to a false positive match. + + 1.8.0 (2023-04-20) ================== This is a sizeable release that will be soon followed by another sizeable @@ -119,7 +133,6 @@ Fix `\p{Lc}` so that it is equivalent to `\p{Cased_Letter}`. Clarify documentation for `\pX` syntax. - 1.7.3 (2023-03-24) ================== This is a small release that fixes a bug in `Regex::shortest_match_at` that