On Thu, Dec 07, 2000 at 02:25:03PM -0800, Peter Jay Salzman wrote:
> heh. while i was sending off an email to someone, you got the drop on me.
> dang, micah, you know your regex's! :)
>
>
> here's one for you. considering some of the ones you answered, this should
> be trivial. what do we commonly call:
>
>
> ^\(.\)\(.\)\(.\)\(.\)\(.\)\5\4\3\2\1$
>
> i think most people would call this the same thing...
>
> ^\(.\)\(.\)\(.\)\(.\)\(.\).\5\4\3\2\1$
>
a palendrome (sp?).
> there's a much harder part 2.
>
> these examples are hardcoded for a certain length of word. using only regex,
> is it possible to express these types of words of arbitrary length? (i don't
> know the answer).
Me either, but I'm pretty sure it's a no. :)
>
> pete
-Micah