repeat patterns in rawChat can now be capsulated