Re:Regular Expression That Checks If A Number Is Prime
by DasIch on Friday September 09, 2016 @04:25AM
(#12460429)
You can actually quite easily add features to regular expressions, that are typically excluded while still being actually regular. Examples would be an `and` or a `not` operator.
Re:Regular Expression That Checks If A Number Is Prime
by btilly on Friday September 09, 2016 @04:59PM
(#12466003)
What I am saying is that you can come up with a lot of extensions of the basic regular expression language. But there is no subjectivity at all in whether the extensions can be implemented by a DFA. Either you can, or you can't.
I'm not actually a fan of using "regular expressions" in a sense broader than that of Kleene's regular, DFA-accepted languages, to be clear. That is exactly what I've been questioning.