now ASPX works too for --os-shell

This commit is contained in:
Miroslav Stampar
2010-11-24 11:38:27 +00:00
parent ca58bdbc66
commit 9579a97039
2 changed files with 16 additions and 0 deletions

View File

@@ -1626,3 +1626,13 @@ def getPublicTypeMembers(type_):
retVal.append((name, value))
return retVal
def extractRegexResult(regex, content):
retVal = None
if regex and content and '?P<result>' in regex:
match = re.search(regex, content)
if match:
retVal = match.group("result")
return retVal