regex expression to check if same number of repetions in python

前端 未结 0 950
遥遥无期
遥遥无期 2020-12-19 14:51

I have two complex (and maybe repeating) groups (ab) and (cd)

abcd is valid abababcdcdcd is valid

but: ababcd is invalid abcdcd is invalid

my idea is to

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