On Wed, Jul 20, 2005 at 08:06:51AM -0700, Kay Schluehr wrote:
> Andreas Kostyrka schrieb:
> 
> > (These are the people look for Pearl and Pyhton programmers ;) )
> 
> Or Phyton :)

In 2000 we had already the Phyththon Misspelling Contest.
I presented then a regexp that could check if we were talking
about the same language. However I must apologize.
It didn't cover Pyhton. This is an improved version:

pc=re.compile(r'\bph?(ph)*[iye]+h?(th?)+o?n+e?\b',re.I)

As you see it covers pitn, and also spellings like pythonne,
to accomodate the francophones. 
-- 
Egbert Bouwman - Keizersgracht 197 II - 1016 DS  Amsterdam - 020 6257991
========================================================================
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to