Fix regular expression for entries