Fix regexp for policy management

Jira-issue: WP-1219