-
Notifications
You must be signed in to change notification settings - Fork 28
Commit ac3c11d
authored
Bump regex from 1.9.6 to 1.10.0 (#334)
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.6 to 1.10.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.10.0 (2023-10-09)</h1>
<p>This is a new minor release of <code>regex</code> that adds support
for start and end
word boundary assertions. That is, <code>\<</code> and
<code>\></code>. The minimum supported Rust
version has also been raised to 1.65, which was released about one year
ago.</p>
<p>The new word boundary assertions are:</p>
<ul>
<li><code>\<</code> or <code>\b{start}</code>: a Unicode
start-of-word boundary (<code>\W|\A</code> on the left,
<code>\w</code> on the right).</li>
<li><code>\></code> or <code>\b{end}</code>: a Unicode end-of-word
boundary (<code>\w</code> on the left, <code>\W|\z</code>
on the right)).</li>
<li><code>\b{start-half}</code>: half of a Unicode start-of-word
boundary (<code>\W|\A</code> on the
left).</li>
<li><code>\b{end-half}</code>: half of a Unicode end-of-word boundary
(<code>\W|\z</code> on the
right).</li>
</ul>
<p>The <code>\<</code> and <code>\></code> are GNU extensions to
POSIX regexes. They have been added
to the <code>regex</code> crate because they enjoy somewhat broad
support in other regex
engines as well (for example, vim). The <code>\b{start}</code> and
<code>\b{end}</code> assertions
are aliases for <code>\<</code> and <code>\></code>,
respectively.</p>
<p>The <code>\b{start-half}</code> and <code>\b{end-half}</code>
assertions are not found in any
other regex engine (although regex engines with general look-around
support
can certainly express them). They were added principally to support the
implementation of word matching in grep programs, where one generally
wants to
be a bit more flexible in what is considered a word boundary.</p>
<p>New features:</p>
<ul>
<li>[FEATURE <a
href="https://redirect.github.com/rust-lang/regex/issues/469">#469</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/469">rust-lang/regex#469</a>):
Add support for <code>\<</code> and <code>\></code> word boundary
assertions.</li>
<li>[FEATURE(regex-automata) <a
href="https://redirect.github.com/rust-lang/regex/issues/1031">#1031</a>](<a
href="https://redirect.github.com/rust-lang/regex/pull/1031">rust-lang/regex#1031</a>):
DFAs now have a <code>start_state</code> method that doesn't use an
<code>Input</code>.</li>
</ul>
<p>Performance improvements:</p>
<ul>
<li>[PERF <a
href="https://redirect.github.com/rust-lang/regex/issues/1051">#1051</a>](<a
href="https://redirect.github.com/rust-lang/regex/pull/1051">rust-lang/regex#1051</a>):
Unicode character class operations have been optimized in
<code>regex-syntax</code>.</li>
<li>[PERF <a
href="https://redirect.github.com/rust-lang/regex/issues/1090">#1090</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/1090">rust-lang/regex#1090</a>):
Make patterns containing lots of literal characters use less
memory.</li>
</ul>
<p>Bug fixes:</p>
<ul>
<li>[BUG <a
href="https://redirect.github.com/rust-lang/regex/issues/1046">#1046</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/1046">rust-lang/regex#1046</a>):
Fix a bug that could result in incorrect match spans when using a
Unicode word
boundary and searching non-ASCII strings.</li>
<li>[BUG(regex-syntax) <a
href="https://redirect.github.com/rust-lang/regex/issues/1047">#1047</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/1047">rust-lang/regex#1047</a>):
Fix panics that can occur in <code>Ast->Hir</code> translation (not
reachable from <code>regex</code>
crate).</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/2cbd34215d1df6415aeac8ed93018ca8ada0cfca"><code>2cbd342</code></a>
1.10.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/26d8e3ad1ffe3ab88679d185103f6a7fe5a562b5"><code>26d8e3a</code></a>
deps: bump regex-automata to 0.4.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/dc0d79e97e16dba1558a44aa5f68d1da4932bc33"><code>dc0d79e</code></a>
regex-automata-0.4.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/68b701808a1694e53d3aae8a2390eaa7a8ba9403"><code>68b7018</code></a>
deps: bump regex-syntax to 0.8.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/ea8f6c05f30e5148cea40194db1646de460869cd"><code>ea8f6c0</code></a>
regex-syntax-0.8.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/aabbfe0c53e18d2712fd239ca6da965f8c220439"><code>aabbfe0</code></a>
regex-lite-0.1.1</li>
<li><a
href="https://github.com/rust-lang/regex/commit/2c44e2a6b63920bf1752a61231ee1349154ae717"><code>2c44e2a</code></a>
fuzz: add regression test for AST roundtripping</li>
<li><a
href="https://github.com/rust-lang/regex/commit/3feff9e10e028eed26336ff1934d6b89fc6c74e9"><code>3feff9e</code></a>
automata: improve sparse DFA validation</li>
<li><a
href="https://github.com/rust-lang/regex/commit/914198fd288329cfb67290076286e32296496be0"><code>914198f</code></a>
regex: reject large patterns when fuzzing</li>
<li><a
href="https://github.com/rust-lang/regex/commit/fc9a11a452adbd262d63990d6be813b577b96687"><code>fc9a11a</code></a>
lite: reduce size limit to avoid timeouts</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/regex/compare/1.9.6...1.10.0">compare
view</a></li>
</ul>
</details>
<br />
[](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>File tree
Expand file treeCollapse file tree
2 files changed
+7
-7
lines changedFilter options
Expand file treeCollapse file tree
2 files changed
+7
-7
lines changedCollapse file: Cargo.lock
+6-6Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file: Cargo.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
|
0 commit comments