Regular Expressions 101

Community Patterns

1

Match paths

PCRE2 (PHP >=7.3)
Match paths
Submitted by os_niko - 6 days ago
1

SUT - Package Matching

PCRE2 (PHP >=7.3)
test
Submitted by MHE - 13 days ago

UFUNCTION parser

0

Regular Expression
PCRE2 (PHP >=7.3)

/
[\s]*([\/+\s\w@'\,\.()\-\*\-\>\<\_\"]*)?[\n]*UFUNCTION[(]([\w<>\s\(\)\=\,\"\| ]*|\n]*)[\)]\n\s(virtual)*\s*(static)*\s*(\w+\&?\*?)\s(\w+)[(]([\w<>\s,&\*]*|\n]*)[)][\s]*([const]*)
/
gm

Description

Loading markdown...
Submitted by anonymous - 6 months ago