Bug 94953 - Writer regular expression filter replaces just first beakline pattern, not ALL, as expected
Summary: Writer regular expression filter replaces just first beakline pattern, not AL...
Status: RESOLVED DUPLICATE of bug 95340
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks:
 
Reported: 2015-10-11 12:29 UTC by ikonta
Modified: 2016-07-21 14:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (11.93 KB, application/vnd.oasis.opendocument.text)
2015-10-11 12:29 UTC, ikonta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ikonta 2015-10-11 12:29:38 UTC
Created attachment 119508 [details]
Example file

I admin OOoFBTools office extension website.
http://extensions.libreoffice.org/extension-center/fbtools
This extension widely uses reqular expressions.

For now I use app-office/libreoffice-4.4.5.2.
But issue appeared earlier, in 4.3 it was already present.

The issue is that LO regular exressions engine fails to process ALL breakline patterns. It process just the first one.
Example file with test macros is in attach.

In app-office/openoffice-bin-4.1.1 macros from attached example works as expected (replaces all find breakline patterns to paragraph), so, probably issue appeared in about LO Writer 4.2.
Comment 1 raal 2015-10-12 19:27:04 UTC
Confirm with LO 4.4.2, linux
works OK in LO 3.5


In  Version: 5.1.0.0.alpha1+
Build ID: 8273350ff48f198efc9dc9c5de5519b8cbdc0cb3
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2015-10-07_05:54:26
Error message:
BASIC runtime error.
Property or method not found: SearchRegularExpression.
-> seems to be bug in 5.1. Please create new bug for this one, dev version you can download here http://dev-builds.libreoffice.org/daily/master/
Comment 2 ikonta 2015-10-28 12:40:57 UTC
Very similiar issue described in bug #95340
Comment 3 Robinson Tryon (qubit) 2015-12-14 05:32:32 UTC
Migrating Whiteboard tags to Keywords: (bibisectRequest)
[NinjaEdit]
Comment 4 Joel Madero 2015-12-19 22:32:41 UTC
What a miserable bug to bibisect....anyways.

Setting to:
Minor - can slow down but will not prevent high quality work;
Medium - regression so bumped up from low

 673d38fff54dec0a1131ac13dbc10212604bc265 is the first bad commit
commit 673d38fff54dec0a1131ac13dbc10212604bc265
Author: Matthew Francis <mjay.francis@gmail.com>
Date:   Sat Mar 14 23:48:57 2015 +0800

    source-hash-f3974d020b8c066dcb08a54ad94740d5131c86f9
    
    commit f3974d020b8c066dcb08a54ad94740d5131c86f9
    Author:     Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
    AuthorDate: Fri Jul 25 00:24:08 2014 +0200
    Commit:     Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
    CommitDate: Fri Jul 25 09:47:52 2014 +0200
    
        simplify ChkPaM some more
    
        Change-Id: I499f76252d145fc3a3afd2e3646ef81e8055e327

:040000 040000 dbf7fe1c678c9ea074664b5e7a2ef2217b7b151c fadb66faed72ac8ac5ad18ddff62ae7566d0b0cb M	opt


# bad: [cf6ea17155fabb2a120ba07c150735591ac861d7] source-hash-3f94c9e9ddfd807b449f3bb9b232cf2041fa12d2
# good: [fc71ac001f16209654d15ef8c1c4018aa55769f5] source-hash-c15927f20d4727c3b8de68497b6949e72f9e6e9e
git bisect start 'latest' 'oldest'
# bad: [8cf60cc706948588e2f33a6d98b7c55d454e362a] source-hash-f340f0454627939f1830826fb5cc53a90e6c62a4
git bisect bad 8cf60cc706948588e2f33a6d98b7c55d454e362a
# good: [d9885f526fc7a09cc8f9f8ee643af1b966be24bb] source-hash-d1465c64c6f64ad8dd25e40cdc69649b24b305ea
git bisect good d9885f526fc7a09cc8f9f8ee643af1b966be24bb
# bad: [c779cf7967f4d14c5e649a5c696b07279d550efd] source-hash-e9c5022580f14c0ca97503f8b3cc56b530fff174
git bisect bad c779cf7967f4d14c5e649a5c696b07279d550efd
# good: [030e0477638f9d9110ad62f88fd4b881521e0541] source-hash-1a6e47e3fda10e6d220b67d766ec6fbdfd852b80
git bisect good 030e0477638f9d9110ad62f88fd4b881521e0541
# good: [c9e7f255b30a0410226b2074702aeba9b49dce13] source-hash-2d5a7c36ee9ae7ff39d8415f81fb911ff822548e
git bisect good c9e7f255b30a0410226b2074702aeba9b49dce13
# bad: [0996e94321008e9f1857c299efad9dc3bc6e5ff2] source-hash-6c1f2ea2aa11b2c8fd42b455c7c452194ed2c1e7
git bisect bad 0996e94321008e9f1857c299efad9dc3bc6e5ff2
# good: [c69835b63d379747e58c9d6315dbf32a09e842ef] source-hash-d5fb4b731938c22fcf9c5e3280da8f722b5492e4
git bisect good c69835b63d379747e58c9d6315dbf32a09e842ef
# good: [90012cb7ba832730701e29655d352a5929a14161] source-hash-81b594afa7162552fc2489ba0c7e1e8b5addb4f2
git bisect good 90012cb7ba832730701e29655d352a5929a14161
# good: [5bd8a7898e84515432797814189a8fdec6967587] source-hash-d60cec0e60c5c0880f8098d39443c391abed80b2
git bisect good 5bd8a7898e84515432797814189a8fdec6967587
# good: [eabdd8aa8d46d815061807118b572b8b5a9d655e] source-hash-5e16ed096e636def009dd7db18cd96d304b14b69
git bisect good eabdd8aa8d46d815061807118b572b8b5a9d655e
# good: [76671c243dda30b57fb03b37ef6b67b66c739234] source-hash-41c5d4c4f83b09f2fedb53bb8e63caaf9a210986
git bisect good 76671c243dda30b57fb03b37ef6b67b66c739234
# good: [291aee12c85f59e082e6f6d6926e4de65ef92235] source-hash-4a1a94dff6a76d70ee72c6c840a24953eca0a9f0
git bisect good 291aee12c85f59e082e6f6d6926e4de65ef92235
# bad: [673d38fff54dec0a1131ac13dbc10212604bc265] source-hash-f3974d020b8c066dcb08a54ad94740d5131c86f9
git bisect bad 673d38fff54dec0a1131ac13dbc10212604bc265
# good: [e4edd8999bdb0c33d69ac4478f14a7d911e623ce] source-hash-bb67dc2752cc37a636fc851ba5b29e6cf0236362
git bisect good e4edd8999bdb0c33d69ac4478f14a7d911e623ce
# first bad commit: [673d38fff54dec0a1131ac13dbc10212604bc265] source-hash-f3974d020b8c066dcb08a54ad94740d5131c86f9
Comment 5 Caolán McNamara 2016-07-21 14:56:34 UTC

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