Convert command line arguments to regular expression

前端 未结 0 840
时光说笑
时光说笑 2021-02-13 07:30

Say, for example, I want to know whether the pattern \"\\section\" is in the text \"abcd\\sectiondefghi\". Of course, I can do this:

import re

motif = r\"\\\\se         


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