News for hackers. Stuff that matters.
Re:A regular expression to check for prime numbers by _delirium on Monday July 05, 2010 @04:23AM (#1487682)
Yeah, I see regexes as more of a question of expression, in the pragmatic human programmer sense, rather than formal expressibility. Some things are natural and easy to write using regexes, and some are much better done some other way, but I'm not sure the Chomsky hierarchy shows where that boundary is.
Re:A regular expression to check for prime numbers by baddox on Tuesday July 06, 2010 @01:36AM (#1490072)
I agree, however I feel that in almost every case, regexes are only natural for matching regular languages.