Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(?!.*###ZARF_PKG_VAR_).*$
/
gm

Description

Checks to make sure that there are no package variables inside of the given string.

Submitted by anonymous - 2 years ago