Regex Problem Group Name Redefinition?

后端 未结 3 1107
情书的邮戳
情书的邮戳 2021-02-05 17:32

So I have this regex:

(^(\\s+)?(?P(\\w)(\\d{7}))((01f\\.foo)|(\\.bar|\\.goo\\.moo\\.roo))$|(^(\\s+)?(?PR1_\\d{6}_\\d{6}_)((01f\\.foo)|(\         


        
3条回答
  •  Happy的楠姐
    2021-02-05 17:56

    Reusing the same name makes sense in your case, contrary to Tamalak's reply.

    Your regex compiles with python2.7 and also re2. Maybe this problem has been resolved.

提交回复
热议问题