1.2.964. 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.964.1. Specs

Short name

Type/Pcre

Rulesets

All, Inventory

Exakat since

0.8.4

PHP Version

All

Severity

Time To Fix

Precision

High

Features

regex

Available in

Entreprise Edition, Exakat Cloud