In a similar way to how the Math object extends what you can do with numbers, RegExp objects extend what you can do with strings by adding the abiliity to ...
Regular Expression back references and capturing groups.
How to make a regular expression group non-capturing.
Regular Expressions and matching on the longest or shortest.
Matching patterns with Regular Expressions: regular expression pattern sans serif font cat sat on the mat order of magnitude matching patterns.
All of the regular expressions we have looked at so far will process the text that we are comparing the expression to as if it were a single line. This will work fine ...