3 ms·
Via the pumping lemma, you can easily prove that testing whether a number is a prime number cannot be implemented as a regular expression.
by aleph_minus_one 3y ago
Via the pumping lemma, you can easily prove that testing whether a number is a prime number cannot be implemented as a regular expression.