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

V Stuart Foote <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Find & Replace replaces too |Find & Replace replaces too
                   |many characters             |many regex pattern matches
                   |                            |against start of lines (^
                   |                            |or \A syntax)
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #7 from V Stuart Foote <[email protected]> ---
Regardless of regex match used [1], the edit shell replacement is *greedy* and
deletes multiple instances of the match against start of line.

While a match against end of paragraph--$--is not similarly affected in the
replace action.

=-ref-=
[1] any of:
^r or ^pa
^r{1}? or ^pa{1}?
^r+? or ^pa+?
or even \A rather than ^ patterns
\Ar+? or \Apa+? 

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a2741c9e6083016bba82fa9be06e157a18aaaf07
CPU threads: 28; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

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

Reply via email to