Regular Expressions 101

Community Patterns

Find method declarations without parameter types

0

Regular Expression
PCRE (PHP <7.3)

/
-\s?\([^)]+\).+?\w+:\w+
/
g

Description

no description available

Submitted by Iulian Onofrei - 8 years ago