Fix bytes regexps end encode types.