How to use flags with python's regular expressions in string notation?

后端 未结 0 1268
自闭症患者
自闭症患者 2020-12-06 04:25

I need to use PLY for a parser, and PLY forces you to write regular expressions in string ntoation inside a token definition. For example:

# A regular express         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题