Triggers that use a regular expression
The following TRIGGER parameter examples use regular expressions to search for strings.
The following trigger parameter causes the 400 indexer to search for the string "PAGE 1".
The search will start in column 1 and continue until the end of each record.
CPGID=37
TRIGGER1=*,*,REGEX='PAGE 1',(TYPE=GROUP)
The following trigger parameter causes the
400 indexer to search for a string containing four uppercase letters followed by three digits.
The regular expression must match the text starting in column 10.CPGID=1141
TRIGGER2=*,10,REGEX='[A-Z]{4}[0-9]{3}',(TYPE=FLOAT)
The following trigger parameter
causes the 400 indexer to search in columns 15 through 18 for a string containing the letter "P"
followed by three lowercase letters. The TYPE is GROUP by default.CPGID=1147
TRIGGER1=*,15:18,REGEX=X'D7908160A95AC0F3D0'
/* regular expression is P[a-z]{3} */