updated cat regex