return matched;
}
public boolean match(MatcherContext<?> context) {
long timeStamp = System.nanoTime();
Matcher matcher = context.getMatcher();
RuleStats ruleStats = ((RuleStats) matcher.getTag());
int pos = context.getCurrentIndex();
int subMatches = -++totalMatches;
int matchSubs = ruleStats.matchSubs;
int rematchSubs = ruleStats.rematchSubs;
int mismatchSubs = ruleStats.mismatchSubs;
int remismatchSubs = ruleStats.remismatchSubs;
long time = System.nanoTime();
timeCorrection += time - timeStamp;
timeStamp = time - timeCorrection;
boolean matched = matcher.match(context);
time = System.nanoTime();
ruleStats.nanoTime += time - timeCorrection - timeStamp;
timeStamp = time;