User story #14596
closed
Add a GM to verify that a given key-value in a file matches a regex
Added by Félix DALLIDET over 5 years ago.
Updated over 2 years ago.
Description
The key parameter will also support the regex entry.
The method will find all lines corresponding to the value + separator parameters and test the lines to see if their right part match the given regex.
This method will never edit or modify the files.
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/ncf/pull/952
- Target version changed from 5.0.9 to 5.0.10
- Status changed from Pending technical review to Rejected
Not relevant anymore. We will split the parsing part and the checking one.
- Project changed from 41 to Rudder
- Category changed from Generic methods - File Management to Generic methods
Also available in: Atom
PDF