I have the following regex that works fine in chrome but it does not work in FireFox generating syntax error Invalid Regex Group
:
bld = txt.split(/(?<=:)/iu,1);
I have tried to escape :
using /(?<=:)/iu
but it gives the same error. I could not able to figure out the cause of this problem.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…