Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(private|public) ([A-Za-z_][A-Za-z_0-9.]*) ?\(((.*,)*.*)\) ?\{(.*)\}
/
gm

Description

RegEx for finding creation of a function in LScript programming language

Submitted by anonymous - 2 years ago (Last modified 2 years ago)