Cache repeated regexp matches against the same string for another 5-10% boost
Cache repeated regexp matches against the same string for another 5-10% boost

This is tricky… basically when the scanner is matching across the same string repeatedly, it can recycle previous results if the following conditions are true:

- The string is the same
- We're matching at a position >= the last position
- The result for the regex is a failure or starts >= the current start position

omarhuanca/atom,hpham04/atom,champagnez/atom,fscherwi/atom,me6iaton/atom,YunchengLiao/atom,ReddTea/atom,Galactix/atom,codex8/atom,Jonekee/atom,einarmagnus/atom,Abdillah/atom,KENJU/atom,ezeoleaf/atom,n-riesco/atom,SlimeQ/atom,jjz/atom,qiujuer/atom,hharchani/atom,Arcanemagus/atom,vinodpanicker/atom,stinsonga/atom,MjAbuz/atom,erikhakansson/atom,scv119/atom,mertkahyaoglu/atom,synaptek/atom,dkfiresky/atom,brettle/atom,pombredanne/atom,avdg/atom,woss/atom,mnquintana/atom,bencolon/atom,rmartin/atom,deoxilix/atom,sillvan/atom,bcoe/atom,jordanbtucker/atom,oggy/atom,devmario/atom,DiogoXRP/atom,erikhakansson/atom,ezeoleaf/atom,DiogoXRP/atom,RobinTec/atom,devmario/atom,Jandersoft/atom,abe33/atom,Shekharrajak/atom,MjAbuz/atom,toqz/atom,yangchenghu/atom,splodingsocks/atom,chfritz/atom,beni55/atom,tjkr/atom,niklabh/atom,kevinrenaers/atom,ReddTea/atom,davideg/atom,sebmck/atom,vcarrera/atom,ivoadf/atom,nucked/atom,woss/atom,Galactix/atom,matthewclendening/atom,liuderchi/atom,gisenberg/atom,FIT-CSE2410-A-Bombs/atom,Jandersoft/atom,rmartin/atom,hellendag/atom,kc8wxm/atom,hagb4rd/atom,isghe/atom,Shekharrajak/atom,wiggzz/atom,bryonwinger/atom,bsmr-x-script/atom,kaicataldo/atom,nvoron23/atom,Huaraz2/atom,0x73/atom,rjattrill/atom,dannyflax/atom,liuxiong332/atom,sekcheong/atom,CraZySacX/atom,ObviouslyGreen/atom,n-riesco/atom,GHackAnonymous/atom,stinsonga/atom,AdrianVovk/substance-ide,targeter21/atom,darwin/atom,gisenberg/atom,ykeisuke/atom,me-benni/atom,pengshp/atom,AlisaKiatkongkumthon/atom,basarat/atom,sxgao3001/atom,sekcheong/atom,batjko/atom,pengshp/atom,nrodriguez13/atom,johnhaley81/atom,devmario/atom,amine7536/atom,cyzn/atom,jlord/atom,g2p/atom,prembasumatary/atom,ardeshirj/atom,charleswhchan/atom,FoldingText/atom,jtrose2/atom,ykeisuke/atom,chfritz/atom,tanin47/atom,tony612/atom,ali/atom,basarat/atom,matthewclendening/atom,jlord/atom,alexandergmann/atom,davideg/atom,yangchenghu/atom,fredericksilva/atom,FIT-CSE2410-A-Bombs/atom,niklabh/atom,kaicataldo/atom,bradgearon/atom,Ingramz/atom,githubteacher/atom,nucked/atom,seedtigo/atom,chengky/atom,andrewleverette/atom,qskycolor/atom,Ingramz/atom,ivoadf/atom,targeter21/atom,Andrey-Pavlov/atom,sebmck/atom,kdheepak89/atom,Ju2ender/atom,yamhon/atom,rlugojr/atom,NunoEdgarGub1/atom,bryonwinger/atom,fscherwi/atom,devoncarew/atom,bencolon/atom,harshdattani/atom,n-riesco/atom,BogusCurry/atom,devoncarew/atom,Mokolea/atom,GHackAnonymous/atom,tisu2tisu/atom,matthewclendening/atom,rsvip/aTom,helber/atom,toqz/atom,basarat/atom,bradgearon/atom,anuwat121/atom,sillvan/atom,dijs/atom,hharchani/atom,avdg/atom,tisu2tisu/atom,vjeux/atom,constanzaurzua/atom,scippio/atom,liuxiong332/atom,mrodalgaard/atom,Neron-X5/atom,BogusCurry/atom,einarmagnus/atom,execjosh/atom,splodingsocks/atom,Andrey-Pavlov/atom,tony612/atom,Hasimir/atom,andrewleverette/atom,darwin/atom,kdheepak89/atom,Rodjana/atom,liuderchi/atom,abcP9110/atom,fedorov/atom,vcarrera/atom,russlescai/atom,vinodpanicker/atom,russlescai/atom,rjattrill/atom,rookie125/atom,lovesnow/atom,stinsonga/atom,lpommers/atom,lovesnow/atom,Austen-G/BlockBuilder,bryonwinger/atom,ReddTea/atom,ironbox360/atom,Locke23rus/atom,charleswhchan/atom,burodepeper/atom,paulcbetts/atom,AlexxNica/atom,hharchani/atom,Ju2ender/atom,originye/atom,Dennis1978/atom,nvoron23/atom,Klozz/atom,seedtigo/atom,gzzhanghao/atom,vjeux/atom,bryonwinger/atom,devoncarew/atom,kjav/atom,Sangaroonaom/atom,vcarrera/atom,FoldingText/atom,NunoEdgarGub1/atom,RuiDGoncalves/atom,kdheepak89/atom,001szymon/atom,mostafaeweda/atom,bolinfest/atom,targeter21/atom,scv119/atom,Galactix/atom,scippio/atom,ardeshirj/atom,Klozz/atom,hakatashi/atom,ObviouslyGreen/atom,fredericksilva/atom,palita01/atom,0x73/atom,tmunro/atom,synaptek/atom,medovob/atom,seedtigo/atom,toqz/atom,alfredxing/atom,scippio/atom,isghe/atom,Abdillah/atom,dsandstrom/atom,Ju2ender/atom,yomybaby/atom,ykeisuke/atom,splodingsocks/atom,Mokolea/atom,sebmck/atom,RuiDGoncalves/atom,Klozz/atom,bcoe/atom,ppamorim/atom,NunoEdgarGub1/atom,basarat/atom,FIT-CSE2410-A-Bombs/atom,Jonekee/atom,sebmck/atom,palita01/atom,FoldingText/atom,paulcbetts/atom,hpham04/atom,constanzaurzua/atom,champagnez/atom,hakatashi/atom,g2p/atom,originye/atom,qiujuer/atom,rjattrill/atom,CraZySacX/atom,dannyflax/atom,transcranial/atom,gabrielPeart/atom,chengky/atom,sxgao3001/atom,boomwaiza/atom,Neron-X5/atom,YunchengLiao/atom,GHackAnonymous/atom,folpindo/atom,targeter21/atom,rookie125/atom,wiggzz/atom,SlimeQ/atom,kittens/atom,rookie125/atom,john-kelly/atom,tanin47/atom,stinsonga/atom,AlbertoBarrago/atom,ralphtheninja/atom,vhutheesing/atom,deepfox/atom,Hasimir/atom,jeremyramin/atom,ReddTea/atom,FoldingText/atom,tjkr/atom,stuartquin/atom,yomybaby/atom,scv119/atom,tjkr/atom,deoxilix/atom,Ju2ender/atom,ilovezy/atom,deoxilix/atom,hpham04/atom,folpindo/atom,constanzaurzua/atom,dannyflax/atom,Jandersoft/atom,chengky/atom,Jonekee/atom,xream/atom,chengky/atom,originye/atom,gisenberg/atom,russlescai/atom,AlexxNica/atom,Hasimir/atom,ali/atom,stuartquin/atom,devmario/atom,pkdevbox/atom,NunoEdgarGub1/atom,Rodjana/atom,phord/atom,kjav/atom,ppamorim/atom,atom/atom,mdumrauf/atom,dijs/atom,Hasimir/atom,florianb/atom,0x73/atom,Sangaroonaom/atom,hakatashi/atom,rxkit/atom,synaptek/atom,CraZySacX/atom,qskycolor/atom,t9md/atom,AdrianVovk/substance-ide,pkdevbox/atom,liuxiong332/atom,tmunro/atom,synaptek/atom,mrodalgaard/atom,jacekkopecky/atom,lpommers/atom,bcoe/atom,boomwaiza/atom,tony612/atom,Abdillah/atom,MjAbuz/atom,rsvip/aTom,kaicataldo/atom,hharchani/atom,mnquintana/atom,jacekkopecky/atom,jtrose2/atom,kittens/atom,deepfox/atom,yalexx/atom,targeter21/atom,rlugojr/atom,RobinTec/atom,bj7/atom,yomybaby/atom,deepfox/atom,vinodpanicker/atom,mnquintana/atom,qiujuer/atom,kittens/atom,Neron-X5/atom,fredericksilva/atom,Jandersolutions/atom,burodepeper/atom,davideg/atom,acontreras89/atom,acontreras89/atom,splodingsocks/atom,bolinfest/atom,PKRoma/atom,abcP9110/atom,G-Baby/atom,sekcheong/atom,ashneo76/atom,t9md/atom,jacekkopecky/atom,jordanbtucker/atom,pombredanne/atom,woss/atom,rmartin/atom,DiogoXRP/atom,sotayamashita/atom,chfritz/atom,lovesnow/atom,KENJU/atom,ali/atom,cyzn/atom,ali/atom,dsandstrom/atom,Sangaroonaom/atom,phord/atom,001szymon/atom,PKRoma/atom,nvoron23/atom,codex8/atom,yamhon/atom,vcarrera/atom,kdheepak89/atom,me6iaton/atom,RuiDGoncalves/atom,crazyquark/atom,gontadu/atom,Neron-X5/atom,Rodjana/atom,ivoadf/atom,vjeux/atom,hagb4rd/atom,pombredanne/atom,githubteacher/atom,tanin47/atom,sxgao3001/atom,deepfox/atom,boomwaiza/atom,chengky/atom,sillvan/atom,rlugojr/atom,lovesnow/atom,darwin/atom,ilovezy/atom,daxlab/atom,kandros/atom,acontreras89/atom,ppamorim/atom,toqz/atom,fang-yufeng/atom,Abdillah/atom,Shekharrajak/atom,burodepeper/atom,sebmck/atom,tisu2tisu/atom,dannyflax/atom,isghe/atom,transcranial/atom,dkfiresky/atom,sotayamashita/atom,beni55/atom,brettle/atom,kc8wxm/atom,kdheepak89/atom,ilovezy/atom,kc8wxm/atom,me6iaton/atom,bj7/atom,kc8wxm/atom,woss/atom,vhutheesing/atom,oggy/atom,amine7536/atom,jjz/atom,G-Baby/atom,mostafaeweda/atom,sxgao3001/atom,qskycolor/atom,yalexx/atom,GHackAnonymous/atom,Locke23rus/atom,rjattrill/atom,sillvan/atom,vhutheesing/atom,Arcanemagus/atom,batjko/atom,nucked/atom,ashneo76/atom,johnhaley81/atom,qskycolor/atom,svanharmelen/atom,crazyquark/atom,sillvan/atom,wiggzz/atom,Shekharrajak/atom,abcP9110/atom,johnrizzo1/atom,fedorov/atom,YunchengLiao/atom,ashneo76/atom,toqz/atom,kjav/atom,Abdillah/atom,t9md/atom,harshdattani/atom,YunchengLiao/atom,githubteacher/atom,efatsi/atom,jeremyramin/atom,ardeshirj/atom,hpham04/atom,gisenberg/atom,ali/atom,G-Baby/atom,sekcheong/atom,atom/atom,Austen-G/BlockBuilder,kevinrenaers/atom,Jdesk/atom,Mokolea/atom,AlisaKiatkongkumthon/atom,constanzaurzua/atom,fang-yufeng/atom,devmario/atom,Andrey-Pavlov/atom,elkingtonmcb/atom,elkingtonmcb/atom,svanharmelen/atom,SlimeQ/atom,john-kelly/atom,davideg/atom,mdumrauf/atom,batjko/atom,panuchart/atom,Jandersoft/atom,mertkahyaoglu/atom,Locke23rus/atom,anuwat121/atom,nrodriguez13/atom,omarhuanca/atom,sotayamashita/atom,AlbertoBarrago/atom,jjz/atom,russlescai/atom,hagb4rd/atom,Huaraz2/atom,codex8/atom,Ingramz/atom,prembasumatary/atom,phord/atom,prembasumatary/atom,batjko/atom,cyzn/atom,hharchani/atom,efatsi/atom,medovob/atom,vinodpanicker/atom,rmartin/atom,jlord/atom,lisonma/atom,xream/atom,acontreras89/atom,lisonma/atom,crazyquark/atom,abcP9110/atom,ironbox360/atom,RobinTec/atom,basarat/atom,erikhakansson/atom,jacekkopecky/atom,bsmr-x-script/atom,AlbertoBarrago/atom,acontreras89/atom,dsandstrom/atom,qiujuer/atom,jordanbtucker/atom,FoldingText/atom,kittens/atom,vinodpanicker/atom,vjeux/atom,me6iaton/atom,gzzhanghao/atom,MjAbuz/atom,nrodriguez13/atom,dsandstrom/atom,rsvip/aTom,Arcanemagus/atom,Andrey-Pavlov/atom,mertkahyaoglu/atom,Jdesk/atom,KENJU/atom,RobinTec/atom,panuchart/atom,mdumrauf/atom,alfredxing/atom,h0dgep0dge/atom,rsvip/aTom,decaffeinate-examples/atom,lpommers/atom,ppamorim/atom,jjz/atom,decaffeinate-examples/atom,lovesnow/atom,hagb4rd/atom,dannyflax/atom,paulcbetts/atom,liuxiong332/atom,mostafaeweda/atom,pombredanne/atom,brettle/atom,devoncarew/atom,brumm/atom,h0dgep0dge/atom,mostafaeweda/atom,ilovezy/atom,PKRoma/atom,mrodalgaard/atom,AlexxNica/atom,kevinrenaers/atom,Jdesk/atom,yamhon/atom,ralphtheninja/atom,daxlab/atom,ppamorim/atom,Rychard/atom,ReddTea/atom,nvoron23/atom,h0dgep0dge/atom,transcranial/atom,Austen-G/BlockBuilder,rxkit/atom,palita01/atom,ezeoleaf/atom,n-riesco/atom,gontadu/atom,omarhuanca/atom,abcP9110/atom,dsandstrom/atom,Jandersolutions/atom,Rychard/atom,NunoEdgarGub1/atom,Hasimir/atom,me6iaton/atom,tony612/atom,matthewclendening/atom,RobinTec/atom,Jandersolutions/atom,hpham04/atom,GHackAnonymous/atom,medovob/atom,Jandersolutions/atom,panuchart/atom,dkfiresky/atom,charleswhchan/atom,amine7536/atom,john-kelly/atom,bradgearon/atom,stuartquin/atom,mnquintana/atom,fedorov/atom,001szymon/atom,Galactix/atom,yalexx/atom,prembasumatary/atom,paulcbetts/atom,basarat/atom,einarmagnus/atom,mertkahyaoglu/atom,ezeoleaf/atom,helber/atom,ObviouslyGreen/atom,fscherwi/atom,helber/atom,bcoe/atom,Ju2ender/atom,yomybaby/atom,rxkit/atom,SlimeQ/atom,amine7536/atom,oggy/atom,yangchenghu/atom,lisonma/atom,fang-yufeng/atom,MjAbuz/atom,brumm/atom,execjosh/atom,alfredxing/atom,brumm/atom,me-benni/atom,constanzaurzua/atom,kandros/atom,me-benni/atom,beni55/atom,bencolon/atom,fredericksilva/atom,john-kelly/atom,vjeux/atom,yalexx/atom,omarhuanca/atom,davideg/atom,Austen-G/BlockBuilder,crazyquark/atom,gontadu/atom,FoldingText/atom,gzzhanghao/atom,BogusCurry/atom,johnrizzo1/atom,qiujuer/atom,deepfox/atom,yalexx/atom,sekcheong/atom,n-riesco/atom,ralphtheninja/atom,Galactix/atom,alexandergmann/atom,bcoe/atom,Dennis1978/atom,bj7/atom,jtrose2/atom,liuxiong332/atom,Huaraz2/atom,charleswhchan/atom,abe33/atom,KENJU/atom,liuderchi/atom,abe33/atom,john-kelly/atom,prembasumatary/atom,Austen-G/BlockBuilder,Jdesk/atom,elkingtonmcb/atom,jacekkopecky/atom,YunchengLiao/atom,florianb/atom,gabrielPeart/atom,synaptek/atom,einarmagnus/atom,oggy/atom,rmartin/atom,jeremyramin/atom,g2p/atom,omarhuanca/atom,florianb/atom,pengshp/atom,andrewleverette/atom,kjav/atom,AlisaKiatkongkumthon/atom,florianb/atom,Rychard/atom,lisonma/atom,Jdesk/atom,svanharmelen/atom,champagnez/atom,nvoron23/atom,kjav/atom,ilovezy/atom,einarmagnus/atom,johnhaley81/atom,Jandersolutions/atom,ironbox360/atom,jlord/atom,decaffeinate-examples/atom,fedorov/atom,hagb4rd/atom,fang-yufeng/atom,Austen-G/BlockBuilder,efatsi/atom,kandros/atom,johnrizzo1/atom,matthewclendening/atom,jlord/atom,pkdevbox/atom,liuderchi/atom,charleswhchan/atom,Andrey-Pavlov/atom,tony612/atom,gisenberg/atom,hakatashi/atom,qskycolor/atom,devoncarew/atom,crazyquark/atom,batjko/atom,hellendag/atom,gabrielPeart/atom,dannyflax/atom,xream/atom,fredericksilva/atom,mostafaeweda/atom,hellendag/atom,russlescai/atom,h0dgep0dge/atom,folpindo/atom,codex8/atom,Jandersoft/atom,dijs/atom,tmunro/atom,daxlab/atom,florianb/atom,AdrianVovk/substance-ide,atom/atom,dkfiresky/atom,Shekharrajak/atom,rsvip/aTom,fedorov/atom,anuwat121/atom,Dennis1978/atom,mnquintana/atom,vcarrera/atom,scv119/atom,SlimeQ/atom,jtrose2/atom,woss/atom,avdg/atom,harshdattani/atom,amine7536/atom,bolinfest/atom,kittens/atom,KENJU/atom,dkfiresky/atom,lisonma/atom,yomybaby/atom,sxgao3001/atom,0x73/atom,bsmr-x-script/atom,decaffeinate-examples/atom,isghe/atom,jjz/atom,codex8/atom,execjosh/atom,Neron-X5/atom,jacekkopecky/atom,fang-yufeng/atom,alexandergmann/atom,isghe/atom,mertkahyaoglu/atom,oggy/atom,jtrose2/atom,niklabh/atom,pombredanne/atom,kc8wxm/atom