Re: Problem with re.match - Newbie needs some advice

2005-05-31 Thread John Machin
rh0dium wrote: > Hi all, > >I can't seem to get into the > second re.match. Can someone point out my apparent error? errorS: 1. Imprecision -- the problem is in the *third* re.match ... 2. ... which should be re.search 3. Using re at all when simple string methods would do -- see below [snip] >

Problem with re.match - Newbie needs some advice

2005-05-31 Thread rh0dium
Hi all, I am having a problem with the method cpuNum. Basically I look to see if the "flag" for "ht" is enabled. If it is the total processors should be cpucount/2. It's not working. I can't seem to get into the second re.match. Can someone point out my apparent error? class Sysinfo: def