RegexMatcher.Find Method
| Explanation | Searches the input string for the next substring that matches the regular expression pattern. Immediately after generating the regular expression engine or reset by the Reset method, the search starts from the beginning of the input string. If no argument is specified, the search will start after the previous match. The start argument resets the regular expression engine and starts the search at the specified position in start of the input string. If the match is successful, you can use the Start, End, and Group methods to get more information. | |
| Call format | var b = rm.Find( [ start ] ) | |
| Return value | $ TRUE if there is a partial match with the regular expression pattern after the current position of the input string, $ FALSE if not | |
| Arguments | integer start | Search start position From Ver.5.0.1, in Unicode mode, specify the start position in character units. Otherwise, specify in bytes. |
| Exception | Func 4 | The argument value is invalid |
| Example of use | | |
| Related item | Start, End, Group, Reset methods | |