【发布时间】:2010-04-25 01:32:36
【问题描述】:
我收到了这个问题,要求我弄清楚"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?"(他们前后读的都是一样的)。
问题的第 2 部分说 "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."
【问题讨论】:
-
一般情况下,如果您被要求回答自己的问题,您至少应该先说明您自己已经完成了多远,然后有人才能在这里向您解释其余的问题
标签: regex string palindrome