Got error 'empty (sub)expression' from regexp