aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-rpc/Cargo.toml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-07-20 06:28:35 +0900
committernsfisis <nsfisis@gmail.com>2026-07-20 06:28:35 +0900
commitf74e69ad1147618efd174791ac12904c0dcc6e28 (patch)
treea0dc3f49338c470b7197d5e1f6a38975b4b1da79 /crates/shirabe-php-rpc/Cargo.toml
parentde56316efae59dc1bfd517b90bc66611d017a52a (diff)
downloadphp-shirabe-f74e69ad1147618efd174791ac12904c0dcc6e28.tar.gz
php-shirabe-f74e69ad1147618efd174791ac12904c0dcc6e28.tar.zst
php-shirabe-f74e69ad1147618efd174791ac12904c0dcc6e28.zip
fix(semver): stop classical pattern matching 6+ digit versions
The regex crate parses PCRE's possessive \d{1,5}+ as a stacked repetition (?:\d{1,5})+, i.e. \d+, so date versions like 20121020 matched the classical pattern and normalized to 20121020.0.0.0 instead of falling through to the date(time) pattern like PHP. The plain \d{1,5} is equivalent to the possessive form here per the regex-porting rules. Un-ignore test_find_recommended_require_version which this had blocked. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-rpc/Cargo.toml')
0 files changed, 0 insertions, 0 deletions