Bump mojo-regex from 0.10.0 to 0.12.0#258
Closed
msaelices wants to merge 3 commits intomodular:mainfrom
Closed
Conversation
carolinefrasca
previously approved these changes
Apr 26, 2026
…tifier routing + DFA O(N^2) fix)
4 tasks
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mojo-regexfrom 0.10.0 to 0.12.0 (skipping 0.11.0 since the previous bump PR Bump mojo-regex from 0.10.0 to 0.11.0 #255 was never merged).e2db672(currentmainofmsaelices/mojo-regex).Highlights since 0.10.0
$-anchored patterns (PR Update DeciMojo to v0.4.1 #140): runs in O(n) per byte, no backtracking.phone_validation1.76 us → 250 ns (6.92x).findall(PR Regex package #139):sparse_email_findall~160x faster.count_consecutive_matches(PRs ish v1.2.0 #136-Update decimojo to Mojo v25.4 #138):range_lowercase[a-z]+7.77x faster.find_first_nibble_matchand precomputed OnePass$fixup (PR Update small_time for 25.4 #145):phone_validationfurther down to 28 ns (faster than Rust'sregex);predefined_digits2.08x.sub()identity cache + fixed-width sub() short-circuit (PRs Rename regex to mojo-regex to avoid name collision with the python regex libray #143, Update mist 25.4 #144): closes the smith-phonenumsformat_numberbottleneck (3.1-3.6x onsub_*).nfa_setfrom runtime, packs the byte → state table intoInt16(4x denser);phone_validation1.18x,literal_match_short1.51x,literal_match_long1.48x,sparse_email_findall1.39x; geomean +2.5%.Test plan
pixi buildresolves the new commit.