Menu

#599 Documentation Mistake of regexp

v4.1 (minor)
open
nobody
None
5
2014-04-22
2014-04-22
Tunococ
No

I tried using regexp with specifying list outputs. According to the documentation page, 'stop' should give me a vector of indices indicating the last locations of all the matches. It does not work. I made several guesses to eventually learn that what works is 'end'. Then I realized that MATLAB's regexp also takes 'end', not 'stop'. So I believe this is just a mistake in documentation. (My guess is that you didn't want to put end in the function prototype because it's a reserved keyword.)

Discussion


Log in to post a comment.