Issue #1299238 by Johnny vd Laar, drunken monkey, JeroenT: Added the option to return partial matches.