The following table displays a summary of the regular expression properties. Note that several of these properties have both long and short (Perl-like) names. Both names always refer to the same value. Perl is the programming language from which JavaScript modeled its regular expressions. Detailed descriptions of each property follow the table.
Property | Description |
---|---|
See input. | |
See multiline. | |
See lastMatch. | |
See lastParen. | |
See leftContext. | |
See rightContext. | |
Whether to test the regular expression against all possible matches in a string, or only against the first. | |
Whether to ignore case while attempting a match in a string. | |