Got error 'missing ) at offset 33' from regexp