new SVG.regex usage

Found this to update. May have to commit more patches to have the textflow working.