in reply to Re^2: check for square-number with a regex
in thread check for square-number with a regex
These regexes are much more powerful than regular expressions, in fact they can do things that even Typ-1 langauges (context-free languages) can't. I've not yet seen a proof that they are Turing complete, so I don't know if they are.In a sense they're ‘obviously’ Turing-complete, since they can contain embedded Perl code; but I assume that's not what you meant. What's another example of Perl regexes recognising a language that a CFG can't? (It sounds vaguely like a challenge, but I'm just politely curious.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: check for square-number with a regex
by moritz (Cardinal) on Oct 23, 2009 at 15:47 UTC | |
by JadeNB (Chaplain) on Nov 26, 2009 at 23:35 UTC |