more regex from the ninja book