Skip to content

fix: support any regex delimiter and modifiers in compiler pass pattern matching#2212

Merged
norberttech merged 1 commit intoflow-php:1.xfrom
bendavies:improve-regex-detection-in-compiler-passes
Feb 12, 2026
Merged

fix: support any regex delimiter and modifiers in compiler pass pattern matching#2212
norberttech merged 1 commit intoflow-php:1.xfrom
bendavies:improve-regex-detection-in-compiler-passes

Conversation

@bendavies
Copy link
Contributor

Use @preg_match with error suppression to detect valid regex patterns instead of checking for '/' delimiters, supporting any delimiter and modifiers, consistent with the rest of the telemetry-bundle.

Change Log


Added

Fixed

  • Support any regex delimiter and modifiers in compiler pass pattern matching

Changed

Removed

Deprecated

Security

…rn matching

Use @preg_match with error suppression to detect valid regex patterns
instead of checking for '/' delimiters, supporting any delimiter and
modifiers, consistent with the rest of the telemetry-bundle.
@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.98%. Comparing base (7f438fa) to head (2d1bd9f).
⚠️ Report is 3 commits behind head on 1.x.

Additional details and impacted files
@@            Coverage Diff             @@
##              1.x    #2212      +/-   ##
==========================================
+ Coverage   82.77%   82.98%   +0.21%     
==========================================
  Files        1334     1334              
  Lines       49381    49385       +4     
==========================================
+ Hits        40873    40984     +111     
+ Misses       8508     8401     -107     
Components Coverage Δ
etl 90.40% <ø> (+0.86%) ⬆️
cli 85.76% <ø> (ø)
lib-array-dot 94.82% <ø> (ø)
lib-azure-sdk 60.01% <ø> (ø)
lib-doctrine-dbal-bulk 95.16% <ø> (ø)
lib-filesystem 83.40% <ø> (ø)
lib-types 88.88% <ø> (+1.50%) ⬆️
lib-parquet 68.25% <ø> (ø)
lib-parquet-viewer 83.04% <ø> (ø)
lib-snappy 90.18% <ø> (+0.46%) ⬆️
bridge-filesystem-async-aws 90.95% <ø> (ø)
bridge-filesystem-azure 89.38% <ø> (ø)
bridge-monolog-http 97.45% <ø> (ø)
bridge-openapi-specification 91.50% <ø> (ø)
symfony-http-foundation 74.11% <ø> (ø)
adapter-chartjs 84.72% <ø> (ø)
adapter-csv 88.65% <ø> (ø)
adapter-doctrine 92.00% <ø> (ø)
adapter-elasticsearch 92.78% <ø> (ø)
adapter-google-sheet 97.05% <ø> (ø)
adapter-http 67.91% <ø> (ø)
adapter-json 87.61% <ø> (ø)
adapter-logger 47.36% <ø> (ø)
adapter-meilisearch 91.66% <ø> (ø)
adapter-parquet 79.29% <ø> (ø)
adapter-text 81.25% <ø> (ø)
adapter-xml 82.07% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@norberttech norberttech merged commit 8fea000 into flow-php:1.x Feb 12, 2026
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants