Regular Expressions 101

Community Patterns

python:S117

2

Regular Expression
PCRE (PHP <7.3)

/
^[a-z_][_a-zA-Z0-9]{2,30}$
/

Description

Local variable and function parameter names should comply with a naming convention

Submitted by anonymous - 9 years ago