Re: regular expression questions in Python

2005-07-11 Thread Reinhold Birkenfeld
Jeremy wrote: > I am (very) new top regular expressions and I am having a difficult time > understanding how to do them. I have the following in my script: > > zaidsearch = r'''^ {5,}([\d]{4,5})(.\d{2,2}c)''' > ZAIDSearch = re.compile(search, re.IGNORECASE) > > When I do: ZAID.search(...) then

regular expression questions in Python

2005-07-11 Thread Jeremy
I am (very) new top regular expressions and I am having a difficult time understanding how to do them. I have the following in my script: zaidsearch = r'''^ {5,}([\d]{4,5})(.\d{2,2}c)''' ZAIDSearch = re.compile(search, re.IGNORECASE) When I do: ZAID.search(...) then this works fine. I would li