show pattern capture example