Regex to match m a's followed by n b's with m > n > 0

前端 未结 0 1530
夕颜
夕颜 2020-12-22 01:54

How to match strings of the form

"a"*m + "b"*n

With the constraint that m > n > 0.

Example matc

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