rename stopOnmatch -> stopOnMatch