Community Patterns

Community Library Entry

0

Regular Expression
Created·2019-02-20 09:28
Flavor·PCRE (Legacy)

/
(?<a>[^\ \ ]*)(?:\()(?<b>[^\)]*)(?:\))
/
gm
Open regex in editor

Description

matches a function signature and extracts the function name and the contents of the parenthesis as match groups

Submitted by anonymous