You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
support re2js as regex engine: pass the RE2JS class directly ( auto-detected and wrapped ), or wrap explicitly with curegex.adapters.re2js(RE2JS)
expose effective engine as curegex.re / curegex.tw.re ( defaults to native RegExp; follows engine(...) setting ) for building ad-hoc patterns with the same engine
add test/: run all rules against native RegExp, re2 and re2js ( npm test )
tweaks:
pin node 22 with volta; upgrade re2 to 1.26.x
twhan rule: use literal char range instead of \u escape for RE2-syntax compatibility