regex quantifier *

Documentation for regex quantifier * assembled from the following types:

language documentation Regexes

From Regexes

(Regexes) regex quantifier *

The * quantifier makes the preceding atom match zero or more times, with no upper limit.

For example, to allow optional whitespace between a and b you can write

/ a \s* b /