https://bugs.documentfoundation.org/show_bug.cgi?id=137737

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Justin L <[email protected]> ---
This is fairly easily resolved with
-  if (pRegexMatcher && endPos < searchStr.getLength())
+  if (pRegexMatcher && endPos < searchStr.getLength() &&
!aSrchPara.searchString.endsWith("$"))

and similar for startsWith("^").

However, making a unit test will be the hardest part. Comment 1 indicates that
a replaceAll works, so copying Mike's test code won't work. I'm also puzzled
why it WOULD work in the first place.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to