Skip to content

Commit

Permalink
Add short blog post about regex 1.9 release
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Jul 5, 2023
1 parent a7af062 commit 332cf2e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions posts/2023-07-05-regex-1.9.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
layout: post
title: "Announcing regex 1.9"
author: Andrew Gallant
---

The regex sub-team is annoncing the release of `regex 1.9`. The `regex` crate
is maintained by the Rust project and is the recommended way to use regular
expressions in Rust. Its defining characteristic is its guarantee of worst case
linear time searches with respect to the size of the string being searched.

Releases of the `regex` crate aren't normally announced on this blog, but
since the majority of its internals have been rewritten in version 1.9, this
announcement serves to encourage extra scrutiny towards any potential problems
or regressions. If you run into any problems, please report them on the
[issue tracker] or [ask questions on the Discussion forum][discussions].

The only change to the API of the `regex` crate is the addition of a new
[`Captures::extract`] method that should make dealing with capture groups
in some cases more convenient. Otherwise, the main change folks should see is
hopefully faster search times.

You can read more in the [CHANGELOG] and in a more in depth blog post on
[regex crate internals as a library][regex-internals].

[issue tracker]: https://github.com/rust-lang/regex/issues
[discussions]: https://github.com/rust-lang/regex/discussions
[`Captures::extract`]: TODO
[CHANGELOG]: TODO
[regex-internals]: TODO

0 comments on commit 332cf2e

Please sign in to comment.