Python - Regular expression seems only match the beginning of string

后端 未结 0 1750
挽巷
挽巷 2021-01-13 21:11

I have the following codes for regular expression matching to parse different date formats:

case1 = \'\\d{1,2}\\/\\d{1,2}\\/(\\d{4}|\\d{2})\'
case2 = \'((Jan|         


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