switch to allowed_pattern: from allowedPattern: