I completely misread the definition of rfind.

svn path=/trunk/tools/; revision=83583