Apache OpenOffice (AOO) Bugzilla – Issue 77392
Ampersand (&) does not work in OOo BASIC editor's Find And Replace
Last modified: 2017-05-20 10:55:26 UTC
OOo Basic macro editor's Find and Replace cannot do what Writer's F&R can! 1) Open the OOo Basic editor with a new module 2) Open the Find & Replace dialog 3) Try the following replace with Regular expressions checked: Search for: Main Replace with: &2 4) Main is changed to &2 instead of Main2 Workaround (use at your own risk): 1) Move the code to OOo Writer 2) Do your replaces using the Find and Replace dialog of OOo Writer 3) Move the code back to OOo Basic (See also Issue 15666 for enhancing Find and Replace using Regular Expressions in Writer.)
TM->JSK: one for you !
Confirmed. However, a simple Search: main Replace: main2 will do the same (in this case). Forwarding to AB, setting target to 2.4, switching OS to all.
Pls don't expect usefulness from a stripped down example :-) See Issue 77338 (under "Quick fix") for a real life problem.
STARTED
Not enough time left for fixing this in 2.4 -> 3.x
Reset assigne to the default "issues@openoffice.apache.org".