Got error 'unmatched parentheses at offset 32' from regexp