April 04, 2005 [doc bug] regexp | ||||
---|---|---|---|---|
| ||||
The exec(char[]) function is mis-documented. It says it returns the "next match" but really it resets the string input being scanned and returns the first match. The exec() function is the one that returns the next match. exec() is not in the online doc. Also the test(char[]) function talks about "next" when it really resets the input and tests for any first match. The test() function tests for another match. |
Copyright © 1999-2021 by the D Language Foundation