js/logEventMatcher/lemAST.js
/**
 * Constructs a regular expression from the parameter
 * 
 * @classdesc
 * 
 * This class represents a literal regular expression.
 * 
 * @constructor
 * @extends AST
 * @param {String} text the regex in text form
 */
Constructs a regular expression from the parameter

@classdesc

This class represents a literal regular expression.

@constructor
@extends AST
@param {String} text the regex in text form
Constructs a regular expression from the parameter @classdesc This class represents a literal regular expression . @constructor @extends AST @param { String } text the regex in text form
function RegexLiteral(text) {
    try {
        this.regex = new RegExp(text);
    }
    catch (e) {
        throw new Exception("The regular expression " + text + " is not valid.");
    }
}
function RegexLiteral ( text ) { try { this . regex = new RegExp ( text ) ; } catch ( e ) { throw new Exception ( "The regular expression " + text + " is not valid." ) ; } }
Constructs a regular expression from the parameter
Constructs a regular expression from the parameter
/** @private */