Thursday, March 06, 2008

Regular Expression Support

I have completed the changes to add support for Regular Expressions in the text match and text exclude routines. Users now have an option to indicate if the expression entered in the Match or Exclude field is a regular expression.

The current matching mechanism is very efficient. It however does not allow for multiple match criteria or complex matching expressions. These can be accomplished with regular expressions. Regular expressions should only be used when needed since they require considerably more cpu cycles than the default matching mechanism.

Here is an example regular expression: (.BMX.)(.MOB.)(.HUN.)

This means match .BMX. or .MOB. or .HUN. in the received message.

No comments: