Factor out a bunch of the stuff in method_def, and re-use it from regex_def. Also gut the protoregex section of the code.
Factor out a bunch of the stuff in method_def, and re-use it from regex_def. Also gut the protoregex section of the code.

awwaiid/rakudo,softmoth/rakudo,tony-o/rakudo,jonathanstowe/rakudo,ungrim97/rakudo,teodozjan/rakudo,skids/rakudo,Gnouc/rakudo,sergot/rakudo,tbrowder/rakudo,dwarring/rakudo,MasterDuke17/rakudo,rakudo/rakudo,tony-o/deb-rakudodaily,salortiz/rakudo,laben/rakudo,rakudo/rakudo,nbrown/rakudo,tony-o/deb-rakudodaily,salortiz/rakudo,teodozjan/rakudo,teodozjan/rakudo,usev6/rakudo,Leont/rakudo,laben/rakudo,dankogai/rakudo,ab5tract/rakudo,awwaiid/rakudo,niner/rakudo,sergot/rakudo,MasterDuke17/rakudo,salortiz/rakudo,tony-o/deb-rakudodaily,tony-o/rakudo,rakudo/rakudo,samcv/rakudo,tony-o/deb-rakudodaily,sjn/rakudo,rakudo/rakudo,nunorc/rakudo,dankogai/rakudo,samcv/rakudo,Gnouc/rakudo,ab5tract/rakudo,cognominal/rakudo,salortiz/rakudo,tony-o/rakudo,retupmoca/rakudo,dwarring/rakudo,zostay/rakudo,ugexe/rakudo,skids/rakudo,cognominal/rakudo,rjbs/rakudo,cygx/rakudo,tbrowder/rakudo,usev6/rakudo,jonathanstowe/rakudo,cognominal/rakudo,nbrown/rakudo,dwarring/rakudo,lucasbuchala/rakudo,labster/rakudo,ungrim97/rakudo,pmurias/rakudo,tbrowder/rakudo,raydiak/rakudo,teodozjan/rakudo,cognominal/rakudo,rakudo/rakudo,awwaiid/rakudo,usev6/rakudo,labster/rakudo,usev6/rakudo,paultcochrane/rakudo,b2gills/rakudo,retupmoca/rakudo,sergot/rakudo,ab5tract/rakudo,Leont/rakudo,azawawi/rakudo,softmoth/rakudo,paultcochrane/rakudo,zhuomingliang/rakudo,Gnouc/rakudo,raydiak/rakudo,retupmoca/rakudo,zhuomingliang/rakudo,laben/rakudo,ungrim97/rakudo,Gnouc/rakudo,MasterDuke17/rakudo,pmurias/rakudo,raydiak/rakudo,cygx/rakudo,samcv/rakudo,sjn/rakudo,LLFourn/rakudo,b2gills/rakudo,rakudo/rakudo,ab5tract/rakudo,lucasbuchala/rakudo,rjbs/rakudo,dankogai/rakudo,tony-o/deb-rakudodaily,tony-o/rakudo,lucasbuchala/rakudo,salortiz/rakudo,zostay/rakudo,ungrim97/rakudo,labster/rakudo,jonathanstowe/rakudo,nunorc/rakudo,raydiak/rakudo,tbrowder/rakudo,awwaiid/rakudo,labster/rakudo,niner/rakudo,ungrim97/rakudo,dwarring/rakudo,tony-o/rakudo,ugexe/rakudo,Leont/rakudo,MasterDuke17/rakudo,paultcochrane/rakudo,tony-o/rakudo,Leont/rakudo,samcv/rakudo,lucasbuchala/rakudo,tbrowder/rakudo,sjn/rakudo,cognominal/rakudo,LLFourn/rakudo,sjn/rakudo,tbrowder/rakudo,MasterDuke17/rakudo,pmurias/rakudo,Gnouc/rakudo,paultcochrane/rakudo,skids/rakudo,nbrown/rakudo,tony-o/deb-rakudodaily,LLFourn/rakudo,samcv/rakudo,azawawi/rakudo,rjbs/rakudo,dankogai/rakudo,softmoth/rakudo,ugexe/rakudo,ab5tract/rakudo,niner/rakudo,jonathanstowe/rakudo,softmoth/rakudo,dankogai/rakudo,nbrown/rakudo,lucasbuchala/rakudo,nunorc/rakudo,b2gills/rakudo,zhuomingliang/rakudo,labster/rakudo,zostay/rakudo,cygx/rakudo,awwaiid/rakudo,tony-o/deb-rakudodaily,retupmoca/rakudo,LLFourn/rakudo,paultcochrane/rakudo,azawawi/rakudo,ugexe/rakudo,sjn/rakudo,azawawi/rakudo,zostay/rakudo,labster/rakudo,usev6/rakudo,ugexe/rakudo,nbrown/rakudo,b2gills/rakudo,sergot/rakudo,azawawi/rakudo,skids/rakudo,cygx/rakudo,LLFourn/rakudo,laben/rakudo,salortiz/rakudo,MasterDuke17/rakudo,niner/rakudo,skids/rakudo,nunorc/rakudo,softmoth/rakudo,nbrown/rakudo,cygx/rakudo,Gnouc/rakudo,b2gills/rakudo,pmurias/rakudo,jonathanstowe/rakudo,zhuomingliang/rakudo