Re: regex function driving me nuts

2012-10-23 Thread cyberdicks
Stripping the line did it !!! Thank you very much to all !!! Cheers! :-) Martin Le mardi 23 octobre 2012 16:36:44 UTC-4, Vlastimil Brom a écrit : > 2012/10/23 MartinD. > > > Hi, > > > > > > I'm new to Python. > > > Does someone has an idea what's wrong. I tried everything. The only regex

Re: regex function driving me nuts

2012-10-23 Thread Vlastimil Brom
2012/10/23 MartinD. : > Hi, > > I'm new to Python. > Does someone has an idea what's wrong. I tried everything. The only regex > that is tested is the last one in a whole list of regex in keywords.txt > Thanks! > Martin > > > > def checkKeywords( str, lstKeywords ): > > for regex

Re: regex function driving me nuts

2012-10-23 Thread Ian Kelly
On Tue, Oct 23, 2012 at 1:51 PM, MartinD. wrote: > Hi, > > I'm new to Python. > Does someone has an idea what's wrong. I tried everything. The only regex > that is tested is the last one in a whole list of regex in keywords.txt > Thanks! > Martin How do you know that it's the only one being tes

RE: regex function driving me nuts

2012-10-23 Thread Prasad, Ramit
MartinD wrote: > Hi, > > I'm new to Python. > Does someone has an idea what's wrong. I tried everything. The only regex > that is tested is the last one in a > whole list of regex in keywords.txt > Thanks! > Martin > > > > def checkKeywords( str, lstKeywords ): > > for regex in