|
|
|
|
|
by posterboy
3035 days ago
|
|
a correction would be helpful. /x?/ one or none x
/x+/ one or more x
/x*/ none or more x
with variable operators it's more complicated. In
/.+/
the operator is repeated, not the first match as with
/(.)\1*/Also, there are extensions in various implementations that are not in fact a regular, so no finite automata. |
|