python certification
egbert
egbert.bouwman at hccnet.nl
Wed Jul 20 17:22:52 EDT 2005
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
========================================================================
More information about the Python-list
mailing list