• Home
  • Raw
  • Download

Lines Matching full:regex

3 This is a small release that fixes a bug in `Regex::shortest_match_at` that
8 * [BUG #969](https://github.com/rust-lang/regex/issues/969):
9 Fix a bug in how the reverse DFA was called for `Regex::shortest_match_at`.
18 * [BUG #967](https://github.com/rust-lang/regex/issues/967):
25 regex crate.
29 * [PERF #930](https://github.com/rust-lang/regex/pull/930):
34 * [BUG #945](https://github.com/rust-lang/regex/issues/945):
44 * [FEATURE #832](https://github.com/rust-lang/regex/issues/916):
54 * [FEATURE #832](https://github.com/rust-lang/regex/pull/832):
56 * [FEATURE #857](https://github.com/rust-lang/regex/pull/857):
58 * [FEATURE #861](https://github.com/rust-lang/regex/pull/861):
60 * [FEATURE #877](https://github.com/rust-lang/regex/issues/877):
65 * [BUG #792](https://github.com/rust-lang/regex/issues/792):
74 * [BUG #680](https://github.com/rust-lang/regex/issues/680):
76 * [BUG #859](https://github.com/rust-lang/regex/issues/859):
78 * [BUG #862](https://github.com/rust-lang/regex/issues/862):
84 This releases fixes a security bug in the regex compiler. This bug permits a
85 vector for a denial-of-service attack in cases where the regex being compiled
86 is untrusted. There are no known problems where the regex is itself trusted,
89 * [SECURITY #GHSA-m5pq-gvj9-9vr8](https://github.com/rust-lang/regex/security/advisories/GHSA-m5pq-…
90 Fixes a bug in the regex compiler where empty sub-expressions subverted the
98 This release fixes another compilation failure when building regex. This time,
102 * [BUG #772](https://github.com/rust-lang/regex/pull/772):
108 This releases fixes a bug when building regex with only the `unicode-perl`
112 * [BUG #769](https://github.com/rust-lang/regex/issues/769):
113 Fix build in `regex-syntax` when only the `unicode-perl` feature is enabled.
123 [PR #768](https://github.com/rust-lang/regex/pull/768) fixes the bug, which was
151 heap memory a regex uses. Previously, the compiler did not account for the
162 This is a small patch release that fixes a regression in the size of a `Regex`
163 in the 1.4.4 release. Prior to 1.4.4, a `Regex` was 552 bytes. In the 1.4.4
164 release, it was 856 bytes due to internal changes. In this release, a `Regex`
165 is now 16 bytes. In general, the size of a `Regex` was never something that was
169 * [BUG #750](https://github.com/rust-lang/regex/pull/750):
170 Fixes stack overflows seemingly caused by a large `Regex` size by decreasing
181 * [BUG #362](https://github.com/rust-lang/regex/pull/362):
183 * [BUG #576](https://github.com/rust-lang/regex/pull/576):
184 All regex types now implement `UnwindSafe` and `RefUnwindSafe`.
185 * [BUG #728](https://github.com/rust-lang/regex/pull/749):
196 * [BUG #734](https://github.com/rust-lang/regex/pull/734):
198 * [BUG #735](https://github.com/rust-lang/regex/pull/735):
208 * [BUG #722](https://github.com/rust-lang/regex/issues/722):
209 Ban `\P{any}` to avoid a panic in the regex compiler. Found by OSS-Fuzz.
218 * [BUG #719](https://github.com/rust-lang/regex/issues/719):
234 * [FEATURE #649](https://github.com/rust-lang/regex/issues/649):
236 * [FEATURE #687](https://github.com/rust-lang/regex/issues/687):
238 * [FEATURE #689](https://github.com/rust-lang/regex/issues/689):
240 * [FEATURE #715](https://github.com/rust-lang/regex/issues/715):
245 * [BUG #694](https://github.com/rust-lang/regex/issues/694):
247 * [BUG #698](https://github.com/rust-lang/regex/issues/698):
248 Clarify docs for `s` flag when using a `bytes::Regex`.
249 * [BUG #711](https://github.com/rust-lang/regex/issues/711):
261 * [BUG #685](https://github.com/rust-lang/regex/issues/685):
271 in [#677](https://github.com/rust-lang/regex/pull/677).
275 * [BUG #523](https://github.com/rust-lang/regex/pull/523):
277 * [BUG #524](https://github.com/rust-lang/regex/issues/524):
279 * [BUG #659](https://github.com/rust-lang/regex/issues/659):
285 This release contains a small bug fix that fixes how `regex` forwards crate
286 features to `regex-syntax`. In particular, this will reduce recompilations in
291 * [BUG #665](https://github.com/rust-lang/regex/pull/665):
292 Fix feature forwarding to `regex-syntax`.
302 * [PERF #657](https://github.com/rust-lang/regex/pull/657):
312 * [FEATURE #653](https://github.com/rust-lang/regex/pull/653):
313 Update `regex-syntax` to Unicode 13.
319 flags in a regex. Namely, before this fix, a regex like `((?i)a)b)` would
324 * [BUG #640](https://github.com/rust-lang/regex/issues/640):
325 Fix bug related to the scoping of flags in a regex.
341 * [FEATURE #631](https://github.com/rust-lang/regex/issues/631):
346 * [BUG #521](https://github.com/rust-lang/regex/issues/521):
348 * [BUG #594](https://github.com/rust-lang/regex/pull/594):
350 * [BUG #627](https://github.com/rust-lang/regex/issues/627):
352 * [BUG #633](https://github.com/rust-lang/regex/pull/633):
364 This release adds a plethora of new crate features that permit users of regex
367 disabled, the dependency tree for `regex` shrinks to exactly 1 crate
368 (`regex-syntax`). More information about the new crate features can be
369 [found in the docs](https://docs.rs/regex/*/#crate-features).
376 * [FEATURE #474](https://github.com/rust-lang/regex/issues/474):
378 The `use_std` feature will be removed in regex 2. Until then, `use_std` will
380 * [FEATURE #583](https://github.com/rust-lang/regex/issues/583):
381 Add a substantial number of crate features shrinking `regex`.
391 * Teddy has been removed from the `regex` crate, and is now part of the
396 …[`utf8` sub-module of `regex-syntax`](https://docs.rs/regex-syntax/0.6.11/regex_syntax/utf8/index.…
398 little we need inside of `regex-syntax` itself.
401 in the regex engine easier to reason about. The current code is too convoluted
404 bundle algorithms like Teddy, but to also provide regex-like match semantics
407 Moving forward, the plan is to join up with the `bstr` and `regex-automata`
409 algorithms (thereby deleting existing code in `regex`) and the latter providing
415 This release updates regex's minimum supported Rust version to 1.28, which was
416 release almost 1 year ago. This release also updates regex's Unicode data
422 This release contains a bug fix that caused regex's tests to fail, due to a
423 dependency on an unreleased behavior in regex-syntax.
425 * [BUG #593](https://github.com/rust-lang/regex/issues/593):
426 Move an integration-style test on error messages into regex-syntax.
436 * [BUG #545](https://github.com/rust-lang/regex/issues/545):
438 * [BUG #588](https://github.com/rust-lang/regex/issues/588):
440 * [BUG #591](https://github.com/rust-lang/regex/issues/591):
452 [BUG #557](https://github.com/rust-lang/regex/issues/557)) which could cause
453 the regex engine to enter an infinite loop. This bug was originally
459 This release fixes a bug in regex's dependency specification where it requires
460 a newer version of regex-syntax, but this wasn't communicated correctly in the
467 * [BUG #570](https://github.com/rust-lang/regex/pull/570):
468 Fix regex-syntax minimal version.
473 This release fixes a backwards compatibility regression where Regex was no
480 * [BUG #568](https://github.com/rust-lang/regex/pull/568):
481 Fix an API regression where Regex was no longer UnwindSafe.
486 This releases fixes a few bugs and adds a performance improvement when a regex
491 * [OPT #566](https://github.com/rust-lang/regex/pull/566):
496 * [BUG #527](https://github.com/rust-lang/regex/issues/527):
498 * [BUG #555](https://github.com/rust-lang/regex/issues/555):
500 * [BUG #557](https://github.com/rust-lang/regex/issues/557):
510 * [BUG edf45e6f](https://github.com/rust-lang/regex/commit/edf45e6f):
520 * [BUG 661bf53d](https://github.com/rust-lang/regex/commit/661bf53d):
535 * [OPT #511](https://github.com/rust-lang/regex/pull/511),
536 [OPT #540](https://github.com/rust-lang/regex/pull/540):
537 Improve lazy DFA construction for large regex sets.
541 * [FEATURE #538](https://github.com/rust-lang/regex/pull/538):
546 * [BUG #530](https://github.com/rust-lang/regex/pull/530):
557 * [OPT #513](https://github.com/rust-lang/regex/pull/513):
562 * [BUG #533](https://github.com/rust-lang/regex/issues/533):
563 Fix definition of `[[:blank:]]` class that regressed in `regex-syntax 0.5`.
572 * [FEATURE #509](https://github.com/rust-lang/regex/pull/509):
587 * [BUG #504](https://github.com/rust-lang/regex/pull/504):
589 * [BUG 1e39165f](https://github.com/rust-lang/regex/commit/1e39165f):
595 This release exposes some new lower level APIs on `Regex` that permit
597 performed in a more granular way. Most users of the regex crate will not
602 * [FEATURE #493](https://github.com/rust-lang/regex/pull/493):
608 * [BUG 3981d2ad](https://github.com/rust-lang/regex/commit/3981d2ad):
610 * [BUG 7ebe4ae0](https://github.com/rust-lang/regex/commit/7ebe4ae0):
612 `regex-syntax` crate.
613 * [BUG 24c7770b](https://github.com/rust-lang/regex/commit/24c7770b):
620 This release upgrades regex's Unicode tables to Unicode 11, and enables SIMD
625 * [FEATURE #486](https://github.com/rust-lang/regex/pull/486):
627 * [FEATURE #488](https://github.com/rust-lang/regex/pull/488):
629 * [FEATURE #490](https://github.com/rust-lang/regex/pull/490):
636 * [BUG #482](https://github.com/rust-lang/regex/pull/482):
642 This release marks the 1.0 release of regex.
645 of the regex library should be able to migrate to 1.0 by simply bumping the
648 * We adopt Rust 1.20 as the new minimum supported version of Rust for regex.
650 version of Rust in minor version releases of regex, but no patch releases.
662 the public dependency on `regex-syntax`.
669 [1.0 release tracking issue](https://github.com/rust-lang/regex/issues/457).
679 * [FEATURE #459](https://github.com/rust-lang/regex/pull/459):
680 Include C++'s standard regex library and Boost's regex library in the
686 * [BUG #445](https://github.com/rust-lang/regex/issues/445):
688 * [BUG #461](https://github.com/rust-lang/regex/issues/461):
690 * [BUG #464](https://github.com/rust-lang/regex/issues/464):
692 a regex contained a literal `\n` character.
693 * [BUG #465](https://github.com/rust-lang/regex/issues/465):
696 * [BUG #466](https://github.com/rust-lang/regex/issues/466):
698 * [BUG #470](https://github.com/rust-lang/regex/pull/470):
705 This release primarily updates the regex crate to changes made in `std::arch`
710 * [FEATURE #458](https://github.com/rust-lang/regex/pull/458):
711 The `Hir` type in `regex-syntax` now has a printer.
718 options are necessary, and the regex crate will automatically choose the
724 * [FEATURE #456](https://github.com/rust-lang/regex/pull/456):
725 The regex crate now includes AVX2 optimizations in addition to the extant
730 * [BUG #455](https://github.com/rust-lang/regex/pull/455):
738 * [BUG #454](https://github.com/rust-lang/regex/pull/454):
744 This release includes a ground-up rewrite of the regex-syntax crate, which has
752 around. When regex 1.0 is released, this will happen for backreferences as
765 now a valid regex.
766 * Almost everything in regex-syntax now uses constant stack space, even when
769 * [FEATURE #174](https://github.com/rust-lang/regex/issues/174):
770 The `Ast` type in `regex-syntax` now contains span information.
771 * [FEATURE #424](https://github.com/rust-lang/regex/issues/424):
774 * [FEATURE #449](https://github.com/rust-lang/regex/pull/449):
779 * [BUG #446](https://github.com/rust-lang/regex/issues/446):
787 * [BUG #446](https://github.com/rust-lang/regex/issues/446):
796 * [BUG #437](https://github.com/rust-lang/regex/issues/437):
804 * [FEATURE #348](https://github.com/rust-lang/regex/pull/348):
805 Improve performance for capture searches on anchored regex.
807 * [FEATURE #419](https://github.com/rust-lang/regex/pull/419):
813 * [BUG](https://github.com/rust-lang/regex/pull/436):
814 The regex compiler plugin has been removed.
815 * [BUG](https://github.com/rust-lang/regex/pull/436):
817 * [BUG](https://github.com/rust-lang/regex/pull/436):
825 * [FEATURE #374](https://github.com/rust-lang/regex/pull/374):
827 * [FEATURE #380](https://github.com/rust-lang/regex/pull/380):
829 * [FEATURE #400](https://github.com/rust-lang/regex/pull/400):
834 * [BUG #375](https://github.com/rust-lang/regex/issues/375):
836 * [BUG #393](https://github.com/rust-lang/regex/issues/393),
837 [BUG #394](https://github.com/rust-lang/regex/issues/394):
845 * [FEATURE #341](https://github.com/rust-lang/regex/issues/341):
853 * [BUG #321](https://github.com/rust-lang/regex/issues/321):
855 * [BUG #326](https://github.com/rust-lang/regex/issues/326):
857 * [BUG #333](https://github.com/rust-lang/regex/issues/333):
859 * [BUG #334](https://github.com/rust-lang/regex/issues/334):
861 * [BUG #338](https://github.com/rust-lang/regex/issues/338):
863 * [BUG #353](https://github.com/rust-lang/regex/issues/353):
865 * [BUG #354](https://github.com/rust-lang/regex/pull/354):
867 * [BUG #358](https://github.com/rust-lang/regex/issues/358):
869 * [BUG #359](https://github.com/rust-lang/regex/issues/359):
871 * [BUG #365](https://github.com/rust-lang/regex/pull/365):
873 * [BUG #367](https://github.com/rust-lang/regex/issues/367):
882 * [BUG #312](https://github.com/rust-lang/regex/issues/312):
884 * [BUG #314](https://github.com/rust-lang/regex/issues/314):
886 * [BUG #316](https://github.com/rust-lang/regex/issues/316):
889 * [BUG #324](https://github.com/rust-lang/regex/issues/324):
890 Compiling `regex` should only require one version of `memchr` crate.
895 This is a new major release of the regex crate, and is an implementation of the
896 [regex 1.0 RFC](https://github.com/rust-lang/rfcs/blob/master/text/1620-regex-1.0.md).
905 Breaking changes for regex syntax:
907 * POSIX character classes now require double bracketing. Previously, the regex
918 * A `bytes::Regex` now has Unicode mode enabled by default (like the main
919 `Regex` type). This means regexes compiled with `bytes::Regex::new` that
923 Breaking changes for the regex API:
931 `iter_named` should use the `capture_names` method on `Regex`.
942 * The `Regex::with_size_limit` method has been removed. It is replaced by
949 a `Regex` and calling its `is_match` method.
950 * The `PartialEq` and `Eq` impls on `Regex` have been dropped. If you relied
951 on these impls, the fix is to define a wrapper type around `Regex`, impl
957 you'll need to explicitly use the `regex_syntax` crate to re-parse the regex.
966 * [BUG #151](https://github.com/rust-lang/regex/issues/151):
969 * [BUG #165](https://github.com/rust-lang/regex/issues/165):
971 * [BUG #166](https://github.com/rust-lang/regex/issues/166):
973 * [BUG #168](https://github.com/rust-lang/regex/issues/168):
975 * [BUG #175](https://github.com/rust-lang/regex/issues/175):
977 * [BUG #178](https://github.com/rust-lang/regex/issues/178):
978 Drop the `PartialEq` and `Eq` impls on `Regex`.
979 * [BUG #179](https://github.com/rust-lang/regex/issues/179):
981 * [BUG #276](https://github.com/rust-lang/regex/issues/276):
983 * [BUG #296](https://github.com/rust-lang/regex/issues/296):
985 * [BUG #307](https://github.com/rust-lang/regex/issues/307):
991 * [PR #292](https://github.com/rust-lang/regex/pull/292):
996 * Require regex-syntax 0.3.8.
1000 * [PR #290](https://github.com/rust-lang/regex/pull/290):
1006 * [PR #281](https://github.com/rust-lang/regex/pull/281):
1016 * [PR #275](https://github.com/rust-lang/regex/pull/275):
1018 * [PR #278](https://github.com/rust-lang/regex/pull/278):
1020 * Implemented DoubleEndedIterator on regex set match iterators.
1024 * Release regex-syntax 0.3.5 with a minor bug fix.
1027 * [PR #270](https://github.com/rust-lang/regex/pull/270):
1034 * Release `regex-syntax 0.3.4`.
1035 * Bump `regex-syntax` dependency version for `regex` to `0.3.4`.
1039 * [PR #262](https://github.com/rust-lang/regex/pull/262):
1044 * [PR #236](https://github.com/rust-lang/regex/pull/236):
1050 * [PR #231](https://github.com/rust-lang/regex/pull/231):
1052 * [PR #228](https://github.com/rust-lang/regex/pull/228):
1054 * [PR #226](https://github.com/rust-lang/regex/pull/226):
1056 * [PR #223](https://github.com/rust-lang/regex/pull/223):
1061 * [PR #216](https://github.com/rust-lang/regex/pull/216):
1063 * [PR #217](https://github.com/rust-lang/regex/pull/217):
1065 * [PR #218](https://github.com/rust-lang/regex/pull/218):
1070 * [PR #210](https://github.com/rust-lang/regex/pull/210):
1071 Fixed a performance bug in `bytes::Regex::replace` where `extend` was used
1073 * [PR #211](https://github.com/rust-lang/regex/pull/211):
1077 running regexes using any of the following regex engines: PCRE1, PCRE2,
1082 * [PR #201](https://github.com/rust-lang/regex/pull/201):
1083 Fix undefined behavior in the `regex!` compiler plugin macro.
1084 * [PR #205](https://github.com/rust-lang/regex/pull/205):
1087 * [PR #209](https://github.com/rust-lang/regex/pull/209):
1099 regex of the form `re$`, it will be matched in reverse from the end of the
1101 * [PR #202](https://github.com/rust-lang/regex/pull/202):
1104 represents the first use of `unsafe` in `regex` (to elide bounds checks).
1105 * [PR #200](https://github.com/rust-lang/regex/pull/200):
1108 It should reduce contention when using a regex from multiple threads
1114 fixed. This only affected use of `bytes::Regex`.
1115 * [#160](https://github.com/rust-lang/regex/issues/160):