#318 fixed regexp.