multiline

Summary

Returns whether the regular expression will perform a multi-line match.

Usage

public property bool multiline()

Returns

true if the regular expression will perform a multi-line match and false otherwise.

Description

Returns whether the regular expression has the "m" flag and will perform a multi-line match.

Examples

Basic Usage
1
2
3
4
import System;
 
System.RegExp re = new System.RegExp(/abc/m);
Console.log(re.multiline); // true

Share

HTML | BBCode | Direct Link