Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^(a|A)rray(\.<.+>)?$|^(.+)\[\]$
/
gm

Description

This Regex can be used to find the custom array types in jsdoc typdefs

Submitted by pranomvignesh - 3 years ago