Removed regex in endOf()