cullmann added a comment.
I think beside the > I think the old code tried to ensure we only add word-boundary if we still can find the string then. e.g. if the string that you highlight contains spaces or stuff like that at the borders, you don't add \b. all other comments are just further beautifications. Could that one thing be fixed and that commited? In any case the new stuff will be nicer than the old. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D9175 To: dhaumann, cullmann, kfunk, mwolff Cc: #frameworks, michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann