The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:property IgnoreCase: boolean;

The property IgnoreCase determines if the search by MatchString is case sensitive. If IgnoreCase is set to TRUE the difference between lower and uppercase strings is ignored. IgnoreCase is FALSE by default.

Please note, that the internal representation of both the search string and the regular expression are converted to lowercase letters if IgnoreCase is set TRUE. Thus the array property RegExpToken returns lowercase tokens if IgnoreCase is set to TRUE. However, you may freely switch between "ignore" and "not ignore" without re-entering the regular expression, since the original regular expression is stored internally.

Example: This property is used in the following example program (see for downloading the code): grep

Last Update: 2012-Oct-20