Support for \K (keep out): Using a regex like @\K\w+ will match
things like @foo but the resulting match text will only include
foo, keeping out the @.
Support for \K (keep out): Using a regex like @\K\w+ will match
things like @foo but the resulting match text will only include
foo, keeping out the @.
[0.8.0] - 2022-02-22
Added
Allow users to disable any of the unicode and perf-* features of
the regex crate. Disabling these features can reduce compile time
and/or binary size for use cases where these features are not needed.
(All features remain enabled by default.)
Changed
MSRV (minimum supported Rust version) is now 1.42.0 (from 1.41.1)
[0.7.1] - 2021-07-29
Fixed
Fix panic on incomplete escape sequences in input regexes
Disallow quantifers on lookarounds and other zero-width assertion
expressions, e.g. the + in (?=hello)+
[0.7.0] - 2021-07-12
Added
Regex now has replace methods like the regex crate:
replace - single replacement
replace_all - replace all non-overlapping matches
replacen - configurable number of replacements
[0.6.0] - 2021-05-17
Added
Regex now implements Clone, Display, FromStr
Captures now implements Index<usize> to access captures by number
and Index<&str> to access by name
[0.5.0] - 2021-02-15
Added
Methods find_iter and captures_iter to iterate over all
non-overlapping matches for a string
Method find_from_pos to find starting from a specific position
Changed
MSRV (minimum supported Rust version) is now 1.41.1 (from 1.32.0)
[0.4.1] - 2020-11-09
Added
escape function to escape special characters in a string so that it
matches literally
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 commands and options
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)
Updates the requirements on fancy-regex to permit the latest version.
Release notes
Sourced from fancy-regex's releases.
Changelog
Sourced from fancy-regex's changelog.
... (truncated)
Commits
585ffbc
Version 0.9.0e3fd3c5
Merge pull request #88 from forkeith/keepout8742353cb
Improvements from PR review6ca3ad7
Match Oniguruma's behavior for \K inside a lookaheadc9b1193
Add more tests for \K keep out, mark as const size58be6ce
Add support for \K keep outDependabot 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 commands and options
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)