From 4116323e9d55745c17b2d8008affa3394b726f6b Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 14 Jun 2026 04:10:38 +0900 Subject: refactor(pcre): drop PcreException Composer never feeds a pattern that fails to compile at runtime, so a preg_*() failure is a programming error rather than a recoverable condition. Replace the PcreException path with a panic. Co-Authored-By: Claude Opus 4.8 --- Cargo.lock | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 2dc9f89..0268a1c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1002,6 +1002,7 @@ version = "0.0.1" dependencies = [ "anyhow", "indexmap", + "regex", "shirabe-php-shim", "shirabe-semver", ] -- cgit v1.3.1