Closed spooknik closed 4 years ago
Hi @spooknik! I'm happy fuzzysearch is useful for you.
Indeed, I've been meaning to add the matched sub-sequence to Match objects, just as you suggest. I hope to get to this soon.
Thanks for the reply.
That sounds good, look forward to trying it out 👍
Added in v0.7.0.
Hello!
Thank you very much for the software. However I have one suggestion if I may:
I'm using fuzzysearch for finding text substrings inside of strings so I can find and replace things fuzzy. For example:
I understand this maybe isn't the use case you had in mind, but It would be really handy if the function could just return the matched string, in this case 'colours ' Then replacement of the substring in the string would be easy via the
replace
function.