Function getAntStrPatternWithAttrIds(int)

Function Documentation

std::string getAntStrPatternWithAttrIds(int nbAttributes)

Generates a regular expression pattern for matching an antecedent of a rule using the IDs of the attributes.

Parameters:

nbAttributes – The number of attributes that can appear in the rule.

Returns:

The compiled regular expression object that can be used to match an antecedent with attribute ids.