Consider the attached document with a macro, which searches for a superscript in the text and replaces it with <sup>&</sup>.
Example worked in:
Version: 126.96.36.199.beta1 (x64)
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win;
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Does not work anymore in:
Version: 188.8.131.52.alpha0+ (x86)
Build ID: 2ce99d12771407631288af5a12fe2165ae3599d8
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: default; VCL: win;
Locale: en-GB (de_DE); UI-Language: en-US
Here is a <sup>x in superscript.</sup>
Here is a <sup>x</sup> in superscript.
User Profile Reset: No
Has this bug something todo with https://bugs.documentfoundation.org/show_bug.cgi?id=75806?
Created attachment 158228 [details]
Most likely regression since https://git.libreoffice.org/core/+/0cd3b7926cafc01d06b589124215e9cb7c148f19
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":
tdf#130984: use RegexMatcher::region to properly limit the search
It will be available in 7.0.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.