Regex: minor cleanup of the regex parsing code
Regex: minor cleanup of the regex parsing code

mawww/kakoune,casimir/kakoune,Somasis/kakoune,alexherbo2/kakoune,danr/kakoune,lenormf/kakoune,jkonecny12/kakoune,lenormf/kakoune,occivink/kakoune,danr/kakoune,alexherbo2/kakoune,jjthrash/kakoune,jjthrash/kakoune,casimir/kakoune,jkonecny12/kakoune,casimir/kakoune,danr/kakoune,Somasis/kakoune,mawww/kakoune,mawww/kakoune,casimir/kakoune,lenormf/kakoune,Somasis/kakoune,occivink/kakoune,jjthrash/kakoune,jkonecny12/kakoune,danr/kakoune,alexherbo2/kakoune,Somasis/kakoune,occivink/kakoune,alexherbo2/kakoune,mawww/kakoune,occivink/kakoune,jkonecny12/kakoune,lenormf/kakoune,jjthrash/kakoune