[Bug 465309] Re: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph
** Changed in: df-libreoffice Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/465309 Title: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/465309/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 465309] Re: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph
Synchronising bug status with upstream. ** Changed in: libreoffice (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/465309 Title: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/465309/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 465309] Re: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph
Launchpad has imported 18 comments from the remote bug at https://bugs.documentfoundation.org/show_bug.cgi?id=52504. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2012-07-25T21:05:07+00:00 jimav wrote: What is expected to happen in Writer, Calc, or the Macro Editor is when one opens the Find & Replace window, with Regular Expression checkbox checked, in the Search for drop down put a circumflex in, and the beginning of every paragraph is found. Consulting the LO Wiki and built-in LO help, it is implied that using a circumflex by itself in the find field should match the beginning of a paragraph: http://help.libreoffice.org/Common/List_of_Regular_Expressions What happens instead is nothing is found. NOTE: A dollarsign ($) by itself *does* work as expected, i.e., it matches the end of each line. Reply at: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/465309/comments/8 On 2012-10-06T20:51:47+00:00 Cno wrote: Hi Jim, Pls use"^." (without the quotes) to find the first character of a paragraph. I think the ^ only is used in combinations. See some examples/explanation in the help . Regards, Cor Reply at: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/465309/comments/11 On 2012-10-07T07:56:53+00:00 jimav wrote: No. ^. is not equivalent. ^. means to match the first character on the line, and if doing a replace then the first character would be deleted. ^ by itself matches the start of the line (not including any characters), and replacing it with something effectively inserts the "replacement" text at the start of the line.You could use something ugly like replacing ^(.) with ${1}PREFIX to avoid deleting the first character, but that would fail on blank lines which don't have any characters in them. In any case, ^ (by itslef) is a standard, well-defined regular expression syntax used everywhere else (Perl, Python, vim etc. etc.) and Libre Office should not do something incompatible. Reply at: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/465309/comments/13 On 2012-10-07T08:01:57+00:00 jimav wrote: If you are unsure how regular expression syntax should work (in industry-wide practice), there are many books and online references, for example http://en.wikipedia.org/wiki/Regular_expression#POSIX_Basic_Regular_Expressions Reply at: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/465309/comments/15 On 2012-10-07T22:20:08+00:00 Cno wrote: Hi Jim, OK, sorry & thanks for explanantion. (In the mena time I understood that the same applies for $, that cannot be used on itself to find the end of a paragraph). Did it ever work as is expected, or is it something that has to be implemented.. In that case, this would be an enhancement... Reply at: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/465309/comments/17 On 2012-10-09T00:37:57+00:00 jimav wrote: AFAIK ^ has never worked correctly. I doubt anyone intentionally made Open Office regular expressions incompatible with industry practice, so I think this is a bug, not a missing feature. -Jim Reply at: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/465309/comments/19 On 2012-10-09T00:58:11+00:00 jimav wrote: Incidentally $ does match the end of paragraphs (as documented), but seems to match the paragraph break (not just tne -position- at the end of the paragraph), so paragraphs are merged forming a single new paragraph. Except only one of a group of successive empty paragraphs is matched. Matching the para-break itself seems odd to me (as usually unhelpful), but might be intentional. However the fact that only some empty paragraphs are matched is almost certainly a bug. EXAMPLE: In the following 1-line paragraphs, there are two empty paras between b and c ( indicates the paragraph symbol which is shown when displaying non-printing characters): a b c Find-and-replace of $ with X replaces the 5 paragraphs with 2 paragraphs: aXbX Xc As you can see, the 5 paragraphs were collapsed into two paragraphs, except the "paragraph break" was not removed for one of the empty paragraps. Reply at: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/465309/comments/21 On
[Bug 465309] Re: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph
** Bug watch added: Document Foundation Bugzilla #52504 https://bugs.documentfoundation.org/show_bug.cgi?id=52504 ** Changed in: df-libreoffice Importance: Wishlist => Unknown ** Changed in: df-libreoffice Status: Confirmed => Unknown ** Changed in: df-libreoffice Remote watch: freedesktop.org Bugzilla #52504 => Document Foundation Bugzilla #52504 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/465309 Title: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/465309/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 465309] Re: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph
This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know. ** Changed in: libreoffice (Ubuntu) Status: Triaged => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/465309 Title: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/465309/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 465309] Re: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph
** Changed in: df-libreoffice Importance: Medium = Wishlist -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/465309 Title: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/465309/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 465309] Re: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph
Launchpad has imported 1 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=52504. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2012-07-25T21:05:07+00:00 jimav wrote: What is expected to happen in Writer, Calc, or the Macro Editor is when one opens the Find Replace window, with Regular Expression checkbox checked, in the Search for drop down put a circumflex in, and the beginning of every paragraph is found. Consulting the LO Wiki and built-in LO help, it is implied that using a circumflex by itself in the find field should match the beginning of a paragraph: http://help.libreoffice.org/Common/List_of_Regular_Expressions What happens instead is nothing is found. NOTE: A dollarsign ($) by itself *does* work as expected, i.e., it matches the end of each line. Reply at: https://bugs.launchpad.net/df- libreoffice/+bug/465309/comments/7 ** Changed in: df-libreoffice Status: Unknown = Confirmed ** Changed in: df-libreoffice Importance: Unknown = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/465309 Title: [Upstream] Regular Expression Search for circumflex by itself does not find beginning of a paragraph To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/465309/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs