News for hackers. Stuff that matters.
Re:Is there a regular expression to detect a valid regular e... by taejo on Monday September 09, 2019 @04:08AM (#20916124)
As you say, this is not a regex parser, but some readers may not know the theorem that the regular languages are exactly those which can be parsed by a Turing machine with constant memory, and parenthesis count can have log n bits.

In fact, any Turing machine using o(log log n) space recognizes a regular language (so there is an equivalent machine using O(1) space).

There are no comments on this comment yet.