Line 423:
Line 423:
$ end of string
$ end of string
−
Quantifiers can be used to specify how many of the previous thing you want to match on, where "thing" means either a literal character, one of the metacharacters listed above, or a group of characters or metacharacters in parentheses.
+
Quantifiers can be used to specify how many of the previous thing you want to match on, where "thing" means either a literal character, one of the metacharacters listed above, or a group of characters or metacharacters in parentheses.
* zero or more of the previous thing
* zero or more of the previous thing
Line 432:
Line 432:
{3,} matches 3 or more of the previous thing
{3,} matches 3 or more of the previous thing
−
Some brief examples:
+
Some brief examples:
/^\d+/ string starts with one or more digits
/^\d+/ string starts with one or more digits