Auto merge of #7945 - pierrechevalier83:fix_issue_7914, r=jdm
Auto merge of #7945 - pierrechevalier83:fix_issue_7914, r=jdm

Refactor away unnecessary use of regex

We don't need regex matching since ": &Vec<" doesn't
contain any special character.

New code reads better.

Fixes #7914.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7945)
<!-- Reviewable:end -->

nnethercote/servo,rnestler/servo,anthgur/servo,nnethercote/servo,ConnorGBrewster/servo,mbrubeck/servo,thiagopnts/servo,fiji-flo/servo,thiagopnts/servo,szeged/servo,mbrubeck/servo,steveklabnik/servo,saneyuki/servo,peterjoel/servo,sadmansk/servo,mbrubeck/servo,upsuper/servo,steveklabnik/servo,jimberlage/servo,steveklabnik/servo,SimonSapin/servo,dsandeephegde/servo,nrc/servo,dsandeephegde/servo,szeged/servo,anthgur/servo,cbrewster/servo,paulrouget/servo,notriddle/servo,larsbergstrom/servo,pyfisch/servo,thiagopnts/servo,KiChjang/servo,KiChjang/servo,rnestler/servo,CJ8664/servo,saneyuki/servo,larsbergstrom/servo,dati91/servo,emilio/servo,DominoTree/servo,canaltinova/servo,notriddle/servo,upsuper/servo,paulrouget/servo,CJ8664/servo,sadmansk/servo,canaltinova/servo,CJ8664/servo,mattnenterprise/servo,SimonSapin/servo,SimonSapin/servo,notriddle/servo,saneyuki/servo,upsuper/servo,splav/servo,nrc/servo,nrc/servo,jimberlage/servo,nnethercote/servo,DominoTree/servo,cbrewster/servo,avadacatavra/servo,peterjoel/servo,dati91/servo,pyfisch/servo,CJ8664/servo,CJ8664/servo,larsbergstrom/servo,eddyb/servo,rnestler/servo,ConnorGBrewster/servo,peterjoel/servo,splav/servo,peterjoel/servo,nrc/servo,notriddle/servo,splav/servo,peterjoel/servo,eddyb/servo,ConnorGBrewster/servo,larsbergstrom/servo,eddyb/servo,anthgur/servo,dati91/servo,rnestler/servo,emilio/servo,mbrubeck/servo,paulrouget/servo,rnestler/servo,larsbergstrom/servo,emilio/servo,peterjoel/servo,upsuper/servo,upsuper/servo,pyfisch/servo,eddyb/servo,ConnorGBrewster/servo,dati91/servo,jimberlage/servo,szeged/servo,pyfisch/servo,mbrubeck/servo,sadmansk/servo,cbrewster/servo,eddyb/servo,mattnenterprise/servo,cbrewster/servo,peterjoel/servo,jimberlage/servo,jimberlage/servo,SimonSapin/servo,ConnorGBrewster/servo,pyfisch/servo,dsandeephegde/servo,CJ8664/servo,anthgur/servo,dati91/servo,ConnorGBrewster/servo,avadacatavra/servo,mattnenterprise/servo,rnestler/servo,cbrewster/servo,KiChjang/servo,nnethercote/servo,paulrouget/servo,canaltinova/servo,splav/servo,splav/servo,jimberlage/servo,mbrubeck/servo,jimberlage/servo,KiChjang/servo,sadmansk/servo,fiji-flo/servo,jimberlage/servo,dsandeephegde/servo,steveklabnik/servo,upsuper/servo,szeged/servo,rnestler/servo,notriddle/servo,paulrouget/servo,DominoTree/servo,KiChjang/servo,nnethercote/servo,ConnorGBrewster/servo,saneyuki/servo,KiChjang/servo,splav/servo,peterjoel/servo,nrc/servo,avadacatavra/servo,splav/servo,DominoTree/servo,sadmansk/servo,larsbergstrom/servo,szeged/servo,mbrubeck/servo,anthgur/servo,cbrewster/servo,mattnenterprise/servo,canaltinova/servo,notriddle/servo,larsbergstrom/servo,fiji-flo/servo,saneyuki/servo,KiChjang/servo,KiChjang/servo,emilio/servo,SimonSapin/servo,emilio/servo,avadacatavra/servo,peterjoel/servo,DominoTree/servo,dati91/servo,SimonSapin/servo,SimonSapin/servo,anthgur/servo,paulrouget/servo,avadacatavra/servo,thiagopnts/servo,larsbergstrom/servo,fiji-flo/servo,CJ8664/servo,fiji-flo/servo,ConnorGBrewster/servo,paulrouget/servo,pyfisch/servo,mattnenterprise/servo,sadmansk/servo,fiji-flo/servo,avadacatavra/servo,canaltinova/servo,cbrewster/servo,fiji-flo/servo,dsandeephegde/servo,pyfisch/servo,anthgur/servo,dsandeephegde/servo,nnethercote/servo,upsuper/servo,paulrouget/servo,nrc/servo,pyfisch/servo,emilio/servo,jimberlage/servo,paulrouget/servo,avadacatavra/servo,SimonSapin/servo,nrc/servo,dati91/servo,larsbergstrom/servo,paulrouget/servo,steveklabnik/servo,splav/servo,sadmansk/servo,notriddle/servo,dsandeephegde/servo,notriddle/servo,steveklabnik/servo,thiagopnts/servo,DominoTree/servo,notriddle/servo,emilio/servo,nnethercote/servo,szeged/servo,emilio/servo,saneyuki/servo,canaltinova/servo,nnethercote/servo,DominoTree/servo,peterjoel/servo,dati91/servo,eddyb/servo,dsandeephegde/servo,saneyuki/servo,larsbergstrom/servo,emilio/servo,thiagopnts/servo,nnethercote/servo,saneyuki/servo,DominoTree/servo,KiChjang/servo,steveklabnik/servo,mattnenterprise/servo,canaltinova/servo,mattnenterprise/servo,canaltinova/servo,mattnenterprise/servo,upsuper/servo,DominoTree/servo,pyfisch/servo,eddyb/servo,sadmansk/servo,szeged/servo,saneyuki/servo,splav/servo,eddyb/servo,saneyuki/servo,KiChjang/servo,nnethercote/servo,notriddle/servo,szeged/servo,emilio/servo,szeged/servo,DominoTree/servo,avadacatavra/servo,mbrubeck/servo,thiagopnts/servo,CJ8664/servo,fiji-flo/servo,splav/servo,cbrewster/servo,anthgur/servo,rnestler/servo,pyfisch/servo,szeged/servo,thiagopnts/servo