[FIX] pylint regexp string
[FIX] pylint redefined-outer-name
[FIX] pylint W0105(pointless-string-statement)