Make subtitle pattern raw string
Fix pylint complaints