[BangPypers] regular expression for Indian landline numbers

Kenneth Gonsalves lawgon at au-kbc.org
Fri Nov 26 06:56:26 CET 2010


On Fri, 2010-11-26 at 07:56 +0530, steve wrote:
> I had a bit of time this morning and didn't feel like starting work
> just yet, so 
> to amuse myself I completed this.

strangely enough that is how I got into this problem

>  Here is the proper regex ...with tests !
> 
> http://pastebin.com/yjP5H0i2 

cool - of course negative tests have to be added - but that is no big
deal
-- 
regards
Kenneth Gonsalves



More information about the BangPypers mailing list