Use Regular Expression for Policies

Idea ID 2788581

Use Regular Expression for Policies

We should be able to use regular expressions when defining policies. Especially policies that validate a Specific Property. The current method is very limited on ensuring that the content being provided in a particular field matches what the customer wants. For example, it is better to try and validate a phone number with something like ((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4} then ###-###-####. The second limits you to only 313-444-9801, where as the first allows for (313) 444-9801 or 313-444-9801. You would also be able to be more or less restrictive with regular expressions where the current method is overly restrictive and does not provide a lot of variety.
3 Comments
Absent Member.
Absent Member.
Hi Richard, thanks for this suggestion. This is a valid request and one that I'd encourage other customers to respond to and/or vote on.
Absent Member.
Absent Member.
This is aligned to our roadmap for policy expression, and will be addressed over the next two releases.
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
We are currently exploring this feature and determining where to place on an upcoming road map and release
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.