Bug 136890 - Makro Basic - RegExp Assertion - &/$0 don't work
Summary: Makro Basic - RegExp Assertion - &/$0 don't work
Status: RESOLVED DUPLICATE of bug 65038
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
6.4.6.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-19 10:23 UTC by Hans-Werner
Modified: 2020-10-13 08:37 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test_RegExp_Assertion_MAKRO.bas (4.90 KB, text/plain)
2020-09-19 10:24 UTC, Hans-Werner
Details
Test_RegExp_Assertion_DATA.odt (9.09 KB, application/vnd.oasis.opendocument.text)
2020-09-19 10:25 UTC, Hans-Werner
Details
How it looks in LibreOffice 7.1 master (162.84 KB, image/png)
2020-10-12 17:41 UTC, Xisco Faulí
Details
Not_Working_RegExp_Assertion_LO6.4.6.4 (42.95 KB, image/png)
2020-10-12 18:13 UTC, Hans-Werner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Werner 2020-09-19 10:23:14 UTC
Description:
LO 6.4.6.2:
Using Look-ahead assertion(?= ...) &/$0 don't work at all.
Using Look-behind assertion (?<= ...) &/$0 work sometimes, but not at all.
LO 7.0.1.2:
No errors !

Steps to Reproduce:
1. Open "Test_RegExp_Assertion_DATA.odt".
2. Start makro "Test_RegExp_Assertion_MAKRO.bas".


Actual Results:
Using Look-ahead assertion(?= ...) &/$0 don't work at all.
Using Look-behind assertion (?<= ...) &/$0 work sometimes, but not at all.

Expected Results:
Using Look-ahead assertion(?= ...) &/$0 should work at all.
Using Look-behind assertion (?<= ...) &/$0 should work at all.


Reproducible: Always


User Profile Reset: No



Additional Info:
LO 7.0.1.2 - No ERROR, all OKAY !!!
Comment 1 Hans-Werner 2020-09-19 10:24:20 UTC
Created attachment 165679 [details]
Test_RegExp_Assertion_MAKRO.bas
Comment 2 Hans-Werner 2020-09-19 10:25:00 UTC
Created attachment 165680 [details]
Test_RegExp_Assertion_DATA.odt
Comment 3 Hans-Werner 2020-09-19 16:57:06 UTC
Attachment "Test_RegExp_Assertion_MAKRO.bas":

Sorry, instead of "substituted with"/"substituted by": "replaced by" !
Comment 4 Xisco Faulí 2020-10-12 17:41:54 UTC
Created attachment 166318 [details]
How it looks in LibreOffice 7.1 master
Comment 5 Xisco Faulí 2020-10-12 17:42:23 UTC
Thanks for reporting this issue.
Could you please explain what would be the expected behaviour ?
Comment 6 Hans-Werner 2020-10-12 18:13:05 UTC
Expected behaviour:
Exactly as to be seen in "How it looks in LibreOffice 7.1 master".
Not expected behaviour:
As to bee seen in "Not_Working_RegExp_Assertion_LO6.4.6.4".
Does this respond to your question ?
Comment 7 Hans-Werner 2020-10-12 18:13:59 UTC
Created attachment 166319 [details]
Not_Working_RegExp_Assertion_LO6.4.6.4
Comment 8 QA Administrators 2020-10-13 04:48:05 UTC Comment hidden (obsolete)
Comment 9 Xisco Faulí 2020-10-13 08:37:47 UTC
This issue is a duplicate of bug 65038 and it's fixed in LibreOffice 7.0

*** This bug has been marked as a duplicate of bug 65038 ***