Build an "inverted" path to allow for patterns that exclude characters.
This commit is contained in:
@@ -56,6 +56,11 @@ struct pattern_node_s {
|
||||
* The id of the pattern that this node belongs to.
|
||||
*/
|
||||
int pattern_id;
|
||||
/**
|
||||
* Whether to "invert" this node - inverted
|
||||
* nodes indicate "match anything but this".
|
||||
*/
|
||||
int invert;
|
||||
|
||||
/**
|
||||
* The node's data that varies based on type.
|
||||
|
||||
Reference in New Issue
Block a user