Which Regular Expression "Engine" does Vontu use? What metacharacters/qualifiers are available?
Updated: 05 Sep 2010 | 2 comments
Which Regular Expression "Engine" does Vontu use?
When authoring regular expressions, it's useful to know what RegEx features can be used, determined by which "Engine" actually does the expression matching. For example, a popular engine is "PCRE", which offers Perl-compatible expressions, such as the \d shortcut for the character range [0-9].
Some Engines offer metacharacters and qualifiers which make it easier to write "efficient" regexes, ones which do not perform excessive backtracking or otherwise can be written so they consume less CPU while trying to find a match.
Which metacharacters are supported with Vontu for Email and Vontu Endpoint Agent?
discussion Filed Under:
Comments
MikeDot, The server based
MikeDot,
The server based detection uses the Java regex engine, as you would expect. All of the meta characters and forward and back tracking operations are available. (http://java.sun.com/j2se/1.4.2/docs/api/java/util/...)
The endpoint agent uses the Boost regex engine. (http://www.boost.org/) This is a PERL and PCRE like engine so ti will behave differently than the Java engine.
JGT
If you build a regular
If you build a regular expression rule for the server based data can't you apply the same rule for the endpoint and the network?
Would you like to reply?
Login or Register to post your comment.