Regular Expressions 101

Community Patterns

PHP STFU operator

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(?<!\* )(@\$[a-z]|@\\?[a-zA-Z])
/
gm

Description

Look for STFU operator in PHP https://www.php.net/manual/en/language.operators.errorcontrol.php

Feel free to contribute or report uses I didn't cover!

Submitted by JohnyProke - 3 years ago