Closed codebude closed 1 year ago
A valid rule could look like:
<?xml version="1.0"?>
<cpilint>
<rules>
<iflow-matches-name>
<naming-pattern>PR[0-9]{3}_IF[0-9]{3}_.+?_(to|TO)_.+?_.+</naming-pattern>
</iflow-matches-name>
</rules>
</cpilint>
The factory class checks for exisitence of all necessary tags in the rules.xml as also if the given Regex is valid.
A general naming rule was introduced in CPILint 1.0.4.
This merge request contains a new rule that allows to check an IFlow's name against a Regex pattern. Feel free to merge it. If you want me to change something, let me know. Feedback is appreciated.