using a proper regex so chrome works