From 1fdbfc1a277a788f8317ed47fccda22c587d3363 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 4 Jul 2026 15:26:26 +0900 Subject: fix(pcre): restore missing regex delimiters in ported patterns Several Preg::*() call sites lost their PHP delimiter (and in one case the `i` modifier) during porting, since preg_*() expects the delimiter to be preserved in the caller's pattern literal and stripped internally. This made compile_php_pattern panic or silently misparse the pattern. Un-ignore the Version tests that were blocked by this bug. --- crates/shirabe/tests/platform/version_test.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'crates/shirabe/tests/platform/version_test.rs') diff --git a/crates/shirabe/tests/platform/version_test.rs b/crates/shirabe/tests/platform/version_test.rs index 009b0a7..49fc34a 100644 --- a/crates/shirabe/tests/platform/version_test.rs +++ b/crates/shirabe/tests/platform/version_test.rs @@ -57,7 +57,6 @@ fn provide_openssl_versions() -> Vec<(&'static str, &'static str, bool, Option<& } #[test] -#[ignore] fn test_parse_openssl_versions() { for (input, parsed_version, fips_expected, normalized_version) in provide_openssl_versions() { let mut is_fips = false; @@ -76,7 +75,6 @@ fn test_parse_openssl_versions() { } #[test] -#[ignore] fn test_parse_libjpeg_version() { let cases = [ ("9", "9.0"), @@ -95,7 +93,6 @@ fn test_parse_libjpeg_version() { } #[test] -#[ignore] fn test_parse_zoneinfo_version() { let cases = [ ("2019c", "2019.3"), -- cgit v1.3.1