ios11不支持正则零宽断言,以字符串 $哈哈哈(sh039488)$ 为例:
不兼容写法:/\$(?<=\$).*?(?=\)\$)\)\$/g
兼容写法:/\$(.*?)\)\$/g
The post 兼容ios11的正则匹配 appeared first on SKILL.NULL.