News for hackers. Stuff that matters.
Re:Exploring the Linguistics Behind Regular Expressions by posterboy on Sunday March 04, 2018 @06:39AM (#16514345)
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.

There are no comments on this comment yet.