in reply to Re: check for power of a number with regex
in thread check for power of a number with regex
Now, I don't think the language {1n | n = bc, c > 1} is context-free, but that's harder to prove than it being non-regular. And it's still not sufficient to prove it cannot be matched by a Perl regexp without the use of (?{ }) or (??{ }).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: check for power of a number with regex
by blokhead (Monsignor) on Oct 26, 2009 at 13:37 UTC |