Name
RegExp.IgnoreCase Property
Data Subtype
Boolean
Description
Determines whether the search for a pattern string is case sensitive.
Rules at a Glance
A search will not ignore case when attempting to locate the pattern
string in a search string; that is, the default value of the
IgnoreCase property is False
. If you don’t
want the search to be case-sensitive, you must set the IgnoreCase
property to True
.
Programming Tips & Gotchas
If your search string does not attempt to match any alphabetic charcters (A-Z and a-z), you can safely ignore the setting of IgnoreCase, since it won’t affect the results of your search.
See Also
Get VBScript in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.