regular expression of 0's and 1's

Posted by Lopa on Stack Overflow See other posts from Stack Overflow or by Lopa
Published on 2010-04-25T01:32:36Z Indexed on 2010/04/25 1:43 UTC
Read the original article Hit count: 344

Filed under:
|
|
|

Hello all

I got this question which asks me to figure out why is it foolish to write a regular expression for the language that consists of strings of 0's and 1's that are palindromes( they read the same backwards and forwards).

part 2 of the question says using any formal mechanism of your choice, show how it is possible to express the language that consists of strings of 0's and 1's that are palindromes?

© Stack Overflow or respective owner

Related posts about regex

Related posts about palindrome