Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(class|struct)[\s]+[\w]+([\s]+[\w]+|)([\s]+[\w]+|)(\:\:[\s]*[\w]+|)(\:\:[\s]*[\w]+|)(\:\:[\s]*[\w]+|)[\s]*:[\s]*(public|private|protected)[\s]+[\w]+(\:\:[\s]+[\w]+|)(\,[\s]*(public|private|protected)[\s]+[\w]+(\:\:[\s]*[\w]+|)|)[.\s]*[\{.\s\w,]*DECLARE_CLASS_INFO
/
gm

Description

no description available

Submitted by anonymous - 4 years ago