User Guide : Using Content Extraction Language : CXL Quick Reference : CXL Patterns
 
Share this page             
CXL Patterns
BEGIN { statements }
The statements are executed once before any input is read.
END { statements }
The statements are executed once after all input has been read.
CATCHUP { statements }
The statements are executed when the catchup on statement has been executed and terminates execution when the catchup off statement has been executed.
/regular expression/ { statements }
The statements are executed at each input line that contains a string match by the regular expression.
comparison expression { statements }
The statements are executed at each input line that contains a string match by the comparison expression.