snort.js
// checks the line for a classification & priority
checks the line for a classification & priority
checks the line for a classification & priority
function matchClassificationPriority (line) {
    var match = regex.classification.exec(line);
    if (match) {
      currentStatement.classification = match[1];
      currentStatement.priority = match[2];
    }
  }
function matchClassificationPriority ( line ) { var match = regex . classification . exec ( line ) ; if ( match ) { currentStatement . classification = match [ 1 ] ; currentStatement . priority = match [ 2 ] ; } }
checks the line for a classification & priority
checks the line for a classification & priority