Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Bump regex from 1.8.4 to 1.9.0 (vectordotdev#17874)
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.4 to 1.9.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's changelog</a>.</em></p> <blockquote> <h1>1.9.0 (2023-07-05)</h1> <p>This release marks the end of a <a href="https://redirect.github.com/rust-lang/regex/issues/656">years long rewrite of the regex crate internals</a>. Since this is such a big release, please report any issues or regressions you find. We would also love to hear about improvements as well.</p> <p>In addition to many internal improvements that should hopefully result in "my regex searches are faster," there have also been a few API additions:</p> <ul> <li>A new <code>Captures::extract</code> method for quickly accessing the substrings that match each capture group in a regex.</li> <li>A new inline flag, <code>R</code>, which enables CRLF mode. This makes <code>.</code> match any Unicode scalar value except for <code>\r</code> and <code>\n</code>, and also makes <code>(?m:^)</code> and <code>(?m:$)</code> match after and before both <code>\r</code> and <code>\n</code>, respectively, but never between a <code>\r</code> and <code>\n</code>.</li> <li><code>RegexBuilder::line_terminator</code> was added to further customize the line terminator used by <code>(?m:^)</code> and <code>(?m:$)</code> to be any arbitrary byte.</li> <li>The <code>std</code> Cargo feature is now actually optional. That is, the <code>regex</code> crate can be used without the standard library.</li> <li>Because <code>regex 1.9</code> may make binary size and compile times even worse, a new experimental crate called <code>regex-lite</code> has been published. It prioritizes binary size and compile times over functionality (like Unicode) and performance. It shares no code with the <code>regex</code> crate.</li> </ul> <p>New features:</p> <ul> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/244">#244</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/244">rust-lang/regex#244</a>): One can opt into CRLF mode via the <code>R</code> flag. e.g., <code>(?mR:$)</code> matches just before <code>\r\n</code>.</li> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/259">#259</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/259">rust-lang/regex#259</a>): Multi-pattern searches with offsets can be done with <code>regex-automata 0.3</code>.</li> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/476">#476</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/476">rust-lang/regex#476</a>): <code>std</code> is now an optional feature. <code>regex</code> may be used with only <code>alloc</code>.</li> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/644">#644</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/644">rust-lang/regex#644</a>): <code>RegexBuilder::line_terminator</code> configures how <code>(?m:^)</code> and <code>(?m:$)</code> behave.</li> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/675">#675</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/675">rust-lang/regex#675</a>): Anchored search APIs are now available in <code>regex-automata 0.3</code>.</li> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/824">#824</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/824">rust-lang/regex#824</a>): Add new <code>Captures::extract</code> method for easier capture group access.</li> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/961">#961</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/961">rust-lang/regex#961</a>): Add <code>regex-lite</code> crate with smaller binary sizes and faster compile times.</li> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/1022">#1022</a>](<a href="https://redirect.github.com/rust-lang/regex/pull/1022">rust-lang/regex#1022</a>): Add <code>TryFrom</code> implementations for the <code>Regex</code> type.</li> </ul> <p>Performance improvements:</p> <ul> <li>[PERF <a href="https://redirect.github.com/rust-lang/regex/issues/68">#68</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/68">rust-lang/regex#68</a>): Added a one-pass DFA engine for faster capture group matching.</li> <li>[PERF <a href="https://redirect.github.com/rust-lang/regex/issues/510">#510</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/510">rust-lang/regex#510</a>):</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-lang/regex/commit/4f47b14d60e82e85a880513833362d5fb485ffa8"><code>4f47b14</code></a> 1.9.0</li> <li><a href="https://github.com/rust-lang/regex/commit/572e8572fa7536df5d1d9eb8849f860c536b764e"><code>572e857</code></a> deps: bump to regex-syntax 0.7.3</li> <li><a href="https://github.com/rust-lang/regex/commit/377f1700754e7c1b0ad55b3f63836c0c042d5c21"><code>377f170</code></a> regex-syntax-0.7.3</li> <li><a href="https://github.com/rust-lang/regex/commit/84dfe509aacd1589af76e43a539294c2f3fa8d4a"><code>84dfe50</code></a> test: minimal polishing for regex-test crate</li> <li><a href="https://github.com/rust-lang/regex/commit/4f3a3b1e5c4bfe86f8a401ebe245052cdec09677"><code>4f3a3b1</code></a> cargo: fix spacing</li> <li><a href="https://github.com/rust-lang/regex/commit/5c10684d6f6941d1243167702f7508018ee8e985"><code>5c10684</code></a> api: add TryFrom impls for Regex</li> <li><a href="https://github.com/rust-lang/regex/commit/85d911808590dac69e6e14f294d24d70053cf28c"><code>85d9118</code></a> changelog: small updates</li> <li><a href="https://github.com/rust-lang/regex/commit/aa64e6d02ee8a39bfee09e122d4ffd66441efc0c"><code>aa64e6d</code></a> changelog: 1.9.0</li> <li><a href="https://github.com/rust-lang/regex/commit/7636ba84e19ffa649bc88bd73a86c3068ba56b3c"><code>7636ba8</code></a> *: lots of polish</li> <li><a href="https://github.com/rust-lang/regex/commit/cacdf377617ec85024541599b96ef9dd3901df68"><code>cacdf37</code></a> fuzz: improve Arbitrary impl for Unicode classes</li> <li>Additional commits viewable in <a href="https://github.com/rust-lang/regex/compare/1.8.4...1.9.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=regex&package-manager=cargo&previous-version=1.8.4&new-version=1.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Doug Smith <doug.smith3197@gmail.com>
- Loading branch information