See Also Applies To
Description
Compiles a regular expression into an internal format.
Syntax
rgexp.compile(pattern)
The compile method syntax has these parts:
Part
Description
rgexp
Required. A Regular Expression object. Can be a variable name or a literal.
pattern
Required. A
string expression containing a regular expression pattern to be compiled.
Remarks
The compile method converts pattern into an internal format for faster execution. This allows for more efficient use of regular expressions in loops, for example.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js712.htm,
2KB, , updated: 1997年9月30日 04:45, local time: 2025年9月14日 20:51,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://massmind.org/Techref/inet/iis/jscript/htm/js712.htm"> compile Method</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.