Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Methods Reference > Regular Expression Methods > Compile Regular Expressions MethodThe Compile Regular Expressions method modifies the pattern and attributes for the current instance of a regular expression object. It allows you to use a regular expression instance multiple times with modifications to the characteristics of this instance. You use it with a regular expression that the constructor function creates. You do not use this method with the literal notation. Formatregexp.compile(pattern[, attributes]) Table 115 describes the arguments for the Compile Regular Expressions method. ExampleThe following example uses the Compile Regular Expressions method: var regobj = new RegExp("now"); Related Topics |
Siebel eScript Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |