1.2.971. Perl Regex

List of all the Perl Regex (PCRE-style). Regex are spotted when they are literals : dynamically built regex, (including /$x/) are not reported.

<?php

preg_match('/[abc]/', $haystack);

preg_replace('#[0-9A-Z]+#is', $y, $z);

?>

See also `PCRE <https://www.php.net/manual/en/book.pcre.php>_.

1.2.971.1. Connex PHP features

1.2.971.1.1. Specs

Short name

Type/Pcre

Rulesets

All, Changed Behavior, Inventory

Exakat since

0.8.4

PHP Version

All

Severity

Time To Fix

Precision

High

Available in

Entreprise Edition, Exakat Cloud