Fix interpretation of specialchars not happening on init
Fix interpretation of specialchars not happening on init

Thus allowing a user to specify a non-global regexp, causing a hang
in buildToken

Issue #3117

melpon/CodeMirror,djadmin/CodeMirror,buchslava/CodeMirror,kerabromsmu/CodeMirror,apatawari/CodeMirror,djadmin/CodeMirror,ficristo/CodeMirror,sourcelair/CodeMirror,pabloferz/CodeMirror,Navaneethsen/CodeMirror,bfrohs/CodeMirror,rasata/CodeMirror,dperetti/CodeMirror,kerabromsmu/CodeMirror,INTELOGIE/CodeMirror,mtaran-google/CodeMirror,philuchansky/CodeMirror,crazy4chrissi/CodeMirror,mihailik/CodeMirror,matthewbauer/CodeMirror,antimatter15/CodeMirror,sourcelair/CodeMirror,ejgallego/CodeMirror,trumanliu/CodeMirror,jayaprabhakar/CodeMirror,karthikeyansam/CodeMirror,Icenium/CodeMirror,gkoberger/CodeMirror,sekcheong/CodeMirror,axter/CodeMirror,bgrins/CodeMirror,supriyantomaftuh/CodeMirror,DustinH/CodeMirror,sanyaade-iot/CodeMirror,tpphu/CodeMirror,r7kamura/CodeMirror,Aliccer/CodeMirror,tpphu/CodeMirror,elisee/CodeMirror,INTELOGIE/CodeMirror,notepadqq/CodeMirror,alur/CodeMirror,karevn/CodeMirror,ashmind/CodeMirror,EasonYi/CodeMirror,mtaran-google/CodeMirror,nightwing/CodeMirror,NumbersInternational/CodeMirror,axter/CodeMirror,amshali/CodeMirror,EasonYi/CodeMirror,systay/CodeMirror,InternetGuru/CodeMirror,gkoberger/CodeMirror,philuchansky/CodeMirror,notepadqq/CodeMirror,Navaneethsen/CodeMirror,sourcelair/CodeMirror,Allenice/CodeMirror,dbarnett/CodeMirror,qweasd1/CodeMirror,flyskyko/CodeMirror,pjkui/CodeMirror,TechnicalPursuit/CodeMirror,bocharsky-bw/CodeMirror,rustemferreira/CodeMirror,Jisuanke/CodeMirror,schanzer/CodeMirror,KamranMackey/CodeMirror,karthikeyansam/CodeMirror,matthewbauer/CodeMirror,dudb/CodeMirror,elisee/CodeMirror,qiankun007/CodeMirror,karevn/CodeMirror,alur/CodeMirror,loopspace/CodeMirror,increpare/CodeMirror,bluesh55/CodeMirror,vanloswang/CodeMirror,bocharsky-bw/CodeMirror,wingify/CodeMirror,rrandom/CodeMirror,camellhf/CodeMirror,TDaglis/CodeMirror,nawroth/CodeMirror,namin/CodeMirror,ssxxue/CodeMirror,namin/CodeMirror,mizchi/CodeMirror,rrandom/CodeMirror,wingify/CodeMirror,qweasd1/CodeMirror,sekcheong/CodeMirror,ksanaforge/CodeMirror,NeZaMy/CodeMirror2,dbarnett/CodeMirror,manderson23/CodeMirror,trumanliu/CodeMirror,ficristo/CodeMirror,michaelerobertsjr/CodeMirror,thomasjm/CodeMirror,ssxxue/CodeMirror,xeronith/CodeMirror,rustemferreira/CodeMirror,happibum/CodeMirror-main,NeZaMy/CodeMirror2,codio/CodeMirror,mihailik/CodeMirror,vincentwoo/CodeMirror,vanloswang/CodeMirror,qweasd1/CodeMirror,ZombieHippie/CodeMirror,dperetti/CodeMirror,mightyguava/CodeMirror,supriyantomaftuh/CodeMirror,symbla/CodeMirror,bgrins/CodeMirror,buchslava/CodeMirror,hccampos/CodeMirror,rasata/CodeMirror,sanyaade-iot/CodeMirror,antimatter15/CodeMirror,mihailik/CodeMirror,AlanWasTaken/codemirror,bfrohs/CodeMirror,d0liver/CodeMirror,ficristo/CodeMirror,schanzer/CodeMirror,bgrins/CodeMirror,grzegorzmazur/CodeMirror,karevn/CodeMirror,shiren/CodeMirror,adobe/CodeMirror2,Aliccer/CodeMirror,Aliccer/CodeMirror,hackmdio/CodeMirror,jessegrosjean/CodeMirror,vanloswang/CodeMirror,crazy4chrissi/CodeMirror,xeronith/CodeMirror,pjkui/CodeMirror,MarcelGerber/CodeMirror,agendor/CodeMirror,apatawari/CodeMirror,isdampe/CodeMirror,davidpham87/CodeMirror,kangkot/CodeMirror,Icenium/CodeMirror,MarcelGerber/CodeMirror,SidPresse/CodeMirror,Dominator008/CodeMirror,hccampos/CodeMirror,NeZaMy/CodeMirror2,schanzer/CodeMirror,jessegrosjean/CodeMirror,gkoberger/CodeMirror,hackmdio/CodeMirror,ksanaforge/CodeMirror,anthonygego/CodeMirror,shiren/CodeMirror,shiren/CodeMirror,buchslava/CodeMirror,nawroth/CodeMirror,kerabromsmu/CodeMirror,r7kamura/CodeMirror,bluesh55/CodeMirror,nightwing/CodeMirror,vincentwoo/CodeMirror,grzegorzmazur/CodeMirror,jkaplon/CodeMirror,philuchansky/CodeMirror,rrandom/CodeMirror,qiankun007/CodeMirror,ashmind/CodeMirror,symbla/CodeMirror,DustinH/CodeMirror,bfrohs/CodeMirror,AlanWasTaken/codemirror,manderson23/CodeMirror,cintiamh/CodeMirror,KamranMackey/CodeMirror,DustinH/CodeMirror,kangkot/CodeMirror,manderson23/CodeMirror,wingify/CodeMirror,karthikeyansam/CodeMirror,skylarkcob/CodeMirror,fmoliveira/CodeMirror,ZombieHippie/CodeMirror,elisee/CodeMirror,kuangyeheng/CodeMirror,Jisuanke/CodeMirror,davidpham87/CodeMirror,kuangyeheng/CodeMirror,anthonygego/CodeMirror,rasata/CodeMirror,pinbe/CodeMirror,SidPresse/CodeMirror,Allenice/CodeMirror,flyskyko/CodeMirror,supriyantomaftuh/CodeMirror,michaelerobertsjr/CodeMirror,morrisonwudi/CodeMirror,pjkui/CodeMirror,isdampe/CodeMirror,mizchi/CodeMirror,qiankun007/CodeMirror,jessegrosjean/CodeMirror,NumbersInternational/CodeMirror,ashmind/CodeMirror,Dominator008/CodeMirror,davidpham87/CodeMirror,skylarkcob/CodeMirror,skylarkcob/CodeMirror,apatawari/CodeMirror,InternetGuru/CodeMirror,AlanWasTaken/codemirror,flyskyko/CodeMirror,jayaprabhakar/CodeMirror,ksanaforge/CodeMirror,dperetti/CodeMirror,morrisonwudi/CodeMirror,happibum/CodeMirror-main,jayaprabhakar/CodeMirror,INTELOGIE/CodeMirror,ZombieHippie/CodeMirror,ThebingServices/CodeMirror,isdampe/CodeMirror,vincentwoo/CodeMirror,Dominator008/CodeMirror,fmoliveira/CodeMirror,TechnicalPursuit/CodeMirror,matthewbauer/CodeMirror,codio/CodeMirror,increpare/CodeMirror,fmoliveira/CodeMirror,pinbe/CodeMirror,NumbersInternational/CodeMirror,adobe/CodeMirror2,alur/CodeMirror,agendor/CodeMirror,ssxxue/CodeMirror,ejgallego/CodeMirror,mightyguava/CodeMirror,happibum/CodeMirror-main,systay/CodeMirror,Allenice/CodeMirror,xeronith/CodeMirror,tpphu/CodeMirror,crazy4chrissi/CodeMirror,InternetGuru/CodeMirror,Jisuanke/CodeMirror,loopspace/CodeMirror,ThebingServices/CodeMirror,sanyaade-iot/CodeMirror,melpon/CodeMirror,dudb/CodeMirror,namin/CodeMirror,notepadqq/CodeMirror,kk9599/CodeMirror,KamranMackey/CodeMirror,thomasjm/CodeMirror,Navaneethsen/CodeMirror,TDaglis/CodeMirror,morrisonwudi/CodeMirror,pabloferz/CodeMirror,jkaplon/CodeMirror,increpare/CodeMirror,antimatter15/CodeMirror,kk9599/CodeMirror,MarcelGerber/CodeMirror,pinbe/CodeMirror,d0liver/CodeMirror,amshali/CodeMirror,melpon/CodeMirror,cintiamh/CodeMirror,TDaglis/CodeMirror,agendor/CodeMirror,codio/CodeMirror,TechnicalPursuit/CodeMirror,kuangyeheng/CodeMirror,adobe/CodeMirror2,hccampos/CodeMirror,djadmin/CodeMirror,michaelerobertsjr/CodeMirror,grzegorzmazur/CodeMirror,ejgallego/CodeMirror,axter/CodeMirror,symbla/CodeMirror,sekcheong/CodeMirror,amshali/CodeMirror,jkaplon/CodeMirror,camellhf/CodeMirror,rustemferreira/CodeMirror,bluesh55/CodeMirror,pabloferz/CodeMirror,kangkot/CodeMirror,hackmdio/CodeMirror,anthonygego/CodeMirror,trumanliu/CodeMirror,mightyguava/CodeMirror,SidPresse/CodeMirror,thomasjm/CodeMirror,bocharsky-bw/CodeMirror,mtaran-google/CodeMirror,mizchi/CodeMirror,Icenium/CodeMirror,ThebingServices/CodeMirror,r7kamura/CodeMirror,d0liver/CodeMirror,dudb/CodeMirror,dbarnett/CodeMirror,cintiamh/CodeMirror,systay/CodeMirror,nightwing/CodeMirror,loopspace/CodeMirror,nawroth/CodeMirror,EasonYi/CodeMirror,camellhf/CodeMirror,kk9599/CodeMirror