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$

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).

pete

PGP signature

Reply via email to