www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [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. 
Apr 04 2005