fix regex when sel prefix/suffix contain parentheses