From c81e9f89d9e4388f36a4427bbaa95eced659d2ce Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 17 Aug 2026 06:03:41 +0900 Subject: refactor(preg): split the PREG_UNMATCHED_AS_NULL preg_* by flag preg_match2() and preg_match_all_offset_capture() each become a pair over a shared private impl, and their flags arguments are gone: no caller passed anything but 0 or PREG_UNMATCHED_AS_NULL. Preg::match5()/is_match5() lose their own flags argument for the same reason -- both call sites passed 0, and the value had nowhere left to go -- so they are renumbered to match4()/is_match4(). PREG_UNMATCHED_AS_NULL itself is now unreferenced. Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe-symfony-console/src/formatter/output_formatter.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'crates/shirabe-symfony-console/src/formatter') diff --git a/crates/shirabe-symfony-console/src/formatter/output_formatter.rs b/crates/shirabe-symfony-console/src/formatter/output_formatter.rs index 6ce96875..1a3de217 100644 --- a/crates/shirabe-symfony-console/src/formatter/output_formatter.rs +++ b/crates/shirabe-symfony-console/src/formatter/output_formatter.rs @@ -296,7 +296,6 @@ impl WrappableOutputFormatterInterface for OutputFormatter { format!("#<(({open_tag_regex}) | /({close_tag_regex})?)>#ix"), message, &mut matches, - 0, ); let full_matches = matches .get(&CaptureKey::ByIndex(0)) -- cgit v1.3.1-4-g156e