比如
[CM][bt][02][03]
我想匹配 02
我的正则是这样写的:
i)(?<=\bCM\b(\D*)?)\d+(?=\D)
但无法匹配成功,请问该怎样改呢?
感谢各位!
正则本身没错...错的是
PCRE 8.34–8.35 UTF-8 does not support variable repetition inside lookbehind or alternatives of different lengths inside groups inside lookbehind