[英]Regex for strings that contain only odd clusters of b's with set {a,b}
[英]Regex for "strings of equal number of a's and b's that beginns with an a and ending with b."r
如果你不需要像abbaab
这样的abbaab
那么你去:
/^(?:ab)+?$/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.