RegExp.multiline

Reflects whether or not to search in strings across multiple lines. $* is another name for the same property.

Property of RegExp
Static

Description

Because multiline is static, it is not a property of an individual regular expression object. Instead, you always use it as RegExp.multiline.
The value of multiline is true if multiple lines are searched, false if searches must stop at line breaks.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.