Add as-pattern example