Regular Expressions 101

Community Patterns

1...56789...11

Function creation in LScript

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)