Updates regex for checking appearance