fix flake8 non-sense about \ in string literal
This commit is contained in:
parent
c0b1dfd5ec
commit
99333230a5
1 changed files with 5 additions and 5 deletions
|
|
@ -39,15 +39,15 @@ interval = "[" __ const_or_unbound __ "," __ const_or_unbound __ "]"
|
|||
|
||||
const_or_unbound = const / "inf" / id
|
||||
|
||||
AP = ~r"[a-z][a-z\d]*"
|
||||
AP = ~r"[a-z][a-z\\d]*"
|
||||
|
||||
bot = "FALSE"
|
||||
top = "TRUE"
|
||||
|
||||
id = ~r"[a-z\d]+"
|
||||
const = ~r"[-+]?(\d*\.\d+|\d+)"
|
||||
_ = ~r"\s"+
|
||||
__ = ~r"\s"*
|
||||
id = ~r"[a-z\\d]+"
|
||||
const = ~r"[-+]?(\\d*\\.\\d+|\\d+)"
|
||||
_ = ~r"\\s"+
|
||||
__ = ~r"\\s"*
|
||||
EOL = "\\n"
|
||||
''')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue