Jun-22-2019, 01:33 PM
(Jun-22-2019, 01:26 PM)ThomasL Wrote:Quote:re.search(pattern, string, flags=0)So the question is: if you print(mo) what value is shown?
Scan through string looking for the first location where the regular expression pattern produces a match, and return a corresponding match object. Return None if no position in the string matches the pattern; note that this is different from finding a zero-length match at some point in the string.
it show "None", i think it don't recognize the string or my compile() has mistake