diffs-fancy-regex
A fork of fancy-regex maintained only
for diffs-rs.
Use upstream fancy-regex in your own projects. This crate follows the needs of
diffs-rs and may change or stop being updated without notice.
-
Upstream base:
fancy-regex0.16.2, revision68d300b. The published upstream archive has SHA-256998b056554fbe42e03ae0e152895cd1a7e1002aec800fdc6635d20270260c46f. -
Fork version:
diffs-fancy-regex0.1.0. Fork versions are independent of upstream versions. -
Library name:
fancy_regex, as upstream. Depend on it under the upstream name:[] = { = "diffs-fancy-regex", = "0.1.0" }
Changes from upstream
All additions are opt-in or additive. Default features, matching behavior, compiled programs, and errors are unchanged.
- Caller-owned search scratch.
SearchScratchandRegex::captures_from_pos_with_scratchlet a caller reuse the VM's temporary branch, save-history, and delegated-slot buffers across searches. - Scoped engine sharing (feature
shared-engines).EngineCacheandRegexBuilder::build_with_cachelet equal expressions with equal settings share one compiled inner engine within a caller-chosen scope. - Required-byte metadata.
Regex::required_ascii_bytes()returns a conservative mask of ASCII bytes that every match needs somewhere in the input. Callers can skip searches that cannot match. - Owner inspection (feature
owner-census). A borrowed visitor over existing inner engines, for memory diagnostics.
PATCHES.md describes each change, the changed files, packaging changes, and the checks that updates need. The upstream README is in UPSTREAM_README.md.
License
MIT, as upstream. See LICENSE and AUTHORS. The upstream copyright notice is unchanged, and the fork's changes are distributed under the same license.