Fixed the regex for WKT.