
23 Oct
2019
23 Oct
'19
6:47 p.m.
On 10/22/19 9:20 PM, Tom Rini wrote:
- In python 3 you must use raw strings for regex as other forms are deprecated and would require further changes to the pattern here. In one case this lets us have a simpler match pattern.
I'm not sure the code was really correct even for Python 2. I'm surprised that the escape sequences were accepted considering they're meaningless. But the new code certainly looks good.