Class: strings.Pattern

strings.strings.Pattern(regexp, color)

new strings.Pattern(regexp, color)

The Pattern type.

Parameters:
Name Type Description
regexp RegExp

the pattern to match.

color string

the highlight color as a hexadecimal string.

Source: