July 1998
Intermediate to advanced
1456 pages
65h 5m
English
compile() — NN 4 IE J3 ECMA n/a
compile(pattern[, g | i | gi])Compiles a regular expression pattern into a genuine regular expression object. This method is used primarily to recompile a regular expression whose pattern may change during the execution of a script.
regular expression object reference.
pattern
Any regular expression pattern as a quoted string.
Read now
Unlock full access