Regular Expressions 101

Sponsors

Library entries

Find function

Vote

1

Regular Expression
pcre

/
(^function|[ ;}\n=]function)(|[ ]+[a-zA-Z_0-9]*[ ]*)([(]([^()]|(?3))*[)])[ \n]*([{]([^{}]|(?5))*[}])
/
g

Description

Loading markdown...
Submitted by Deepak Subramanian - 6 years ago