FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit dc2d4bff authored by Robert Franklin's avatar Robert Franklin
Browse files

version 0.4 - rules improvements and bug fix

changed the format of rules to move the 'operation' field before the
'area' and 'id' fields - i.e. '[!][{+-=}][<area>][:<id>]' replaces the
previous '[!][<area>][:<id>][{+-=}]'

as well as making the rule syntax clearer, this change fixes a problem
where a '-' could not be used in the 'action' field - previously this
was not allowed as the regexp for that did not match '-' but, when it
was added, caused the regexp to match it as an 'operation'

moved the code to read in rules from a file from the main module to the
the ConfigElementRules class as read_rules(), extending it to support
comments in files with a leading '#' and skip blank lines
parent 593ba146
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment