Implement word boundary matching
Ensure a match is bounded by word boundaries. This implementation uses a similar approach to providing FindOptions::kWholeWord to FindBuffer::FindMatchInRange, however that option requires the search text to be a single word. Added tests and a web platform test case. Bug: 924965 Change-Id: Iaa6785181eb29f0d25f64026c3be05d095ace3ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1803723 Commit-Queue: Nick Burris <nburris@chromium.org> Reviewed-by:David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#697244}
Showing
Please register or sign in to comment