this regexp is wrong @stof because of https://gist.github.com/cordoval/d96cc65abd32ac31fb3b