I hadn't seen that before.  I like it.  I didn't upcase the variable since it causes a pylint violation, and didn't seem worth scoping the regex out to the class since it is only used once.