Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi :)
These 2 guides might help post a bug-report
http://wiki.documentfoundation.org/BugReport
https://www.libreoffice.org/get-help/bug/
I think you would find the 1st link easier for you to work with.  They both produce much the same 
result.
Regards from
Tom :)

--- On Wed, 21/3/12, Ninj <ninj@informance.info> wrote:

From: Ninj <ninj@informance.info>
Subject: [libreoffice-users] [Calc] Bug in Search/replace with regexp
To: users@global.libreoffice.org
Date: Wednesday, 21 March, 2012, 2:24

Hi,

I think i found a bug in the search/replace of Calc.

When looking for a pattern to be replaced by a string containing references
to the matches of the search, if a cell has this pattern more than once,
only the first replacement is correct.

Example below:
Search:
T[1-3](\.[A-Z]+[0-9]+)
Replace:
INDIRECT(B10\&"$1")
That searches formulas referencing cells within sheets T1, T2, or T3, and
would act as follow: the formula
=T2.K14
will be replaced by this one:
=INDIRECT(B10&".K14")
In the current sheet, the cell B10 contains the string "T2", so we get the
same results.

But suppose that a searched cell contains this formula, with two matches:
=T2.K14+T2.R25
The replacement will FAIL:
=INDIRECT(B10&".K14")+INDIRECT(B10&"DIRE")
Something got wrong with the second replacement.

Any idea? Isn't that a bug? I may have missed a point.

Thank you!

--
View this message in context: 
http://nabble.documentfoundation.org/Calc-Bug-in-Search-replace-with-regexp-tp3844337p3844337.html
Sent from the Users mailing list archive at Nabble.com.

-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.