General_AsciiLogRX does not Event when values are found in expression using the OR operator. (NETIQKB71803)

  • 7771803
  • 06-Sep-2009
  • 03-Jun-2011

Environment

NetIQ AppManager 6.x
NetIQ AppManager 7.0.x

Situation

General_AsciiLogRX does not event when values are found in expression using the OR operator.
General_AsciiLogRX does not work as expected using standard RegEx expressions.

Resolution

Please use the format below grouping each expression that you are separating by |.

Example (Find 101, 102, or 105 at the beginning of a line followed by any characters):

The below must be used:
^(101)|(102)|(105).*

The below would not work:
^(101|102|105).*

Cause

The Microsoft Regular Expression engine used by this script has an issue with some parsing formats including the OR ( | ).  Rather than the standard of acting as a boolean separater for each string, it must separate grouped expressions. 

Other parsing issues also exist and the Microsoft link in the "Notes" section of this KB can be used to resolve these issues.

Additional Information

Formerly known as NETIQKB71803

Here is the public link to the Microsoft CAtlRegExp class that this KS uses:
http://msdn.microsoft.com/en-us/library/k3zs4axe(VS.80).aspx
The syntax for expressions is at the bottom.