Function getStrPatternWithClassIds(int)

Function Documentation

std::string getStrPatternWithClassIds(int nbClasses)

Generates a regular expression pattern for matching a class of a rule using the IDs of the classes.

Parameters:

nbClasses – The number of classes that can appear in the rule.

Returns:

The compiled regular expression object that can be used to match a rule class id.