Regular Expressions 101

Library entries

Javascript anonymous functions

Vote

1

Regular Expression
pcre

/
(?:(?:(?:(?:var|let)[ \t]+)?([\w.\-]+)[ \t]*[:=]|[(!])[ \t]*)function(?:[ \t]+([\w.\-]+))?[ \t]*\([^)]*\)
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago