Regular Expressions 101

Community Patterns

find the function definition based on indentation

1

Regular Expression
ECMAScript (JavaScript)

/
( +)middleware: to => {\n.*?\n\1},
/
gms

Description

check the code

Submitted by anonymous - 8 months ago