Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?<=(?:const\s|var\s|let\s)[^;\n]*)(?=const|var|let)
/
g

Description

user for bcl this helps to find missing semicolons to trigger an error

Submitted by Cazpfitl - 3 years ago