A single-line match statement in an Edge SWG (ProxySG) provision fails to filter devices correctly. Instead, the policy contents apply to all devices in the environment even when `device.memberOf` criteria are specified.
The regular expression within the `match()` function contains extra spaces, leading pipes, or trailing pipes. These formatting errors cause the logic to fail parsing, which the system interprets as a "match all" condition or ignores the filter entirely.
Sanitize the regular expression pattern by removing all unnecessary spaces and ensuring no empty segments exist between pipes.
|) with no spaces.${if device.memberOf;match( SiteA | SiteB | )}${if device.memberOf;match(SiteA|SiteB)}To speak with a customer representative or a Support Engineer see Contact Support. Scroll to the bottom of the page and click on your respective region.