kfuzzymatcher: Add matchedRanges to get ranges where matches occurred
This change adds a new function matchedRanges() which returns the ranges where a pattern got matched inside a string. These ranges can then be utilized by the user to display matched strings in a view.
Signed-off-by: Waqar Ahmed waqar.17a@gmail.com