Public bug reported:

Binary package hint: openoffice.org

In Find&Replace, a regular expression of  "^" (without the quotes) never
matches anything.  It should match the front of every line.

For example, if you want to comment out a block of code in the Basic macro 
editor, it should be possible to
Find ^ in a selection and replace it with "rem " and have "rem " inserted at 
the front of all the selected lines.
But  ^ alone does not work, and never matches any lines.

The use of of ^ alone to match the start of lines (and, similarly $ for
end-of-lines) has been a fundamental feature of regular expressions in
computer systems since they were first widely used in 1970s Unix.  OO
should not deviate.

ProblemType: Bug
Architecture: amd64
Date: Fri Oct 30 11:36:03 2009
DistroRelease: Ubuntu 9.10
Package: openoffice.org-core 1:3.1.1-4ubuntu2 [modified: 
var/lib/openoffice/basis3.1/program/services.rdb]
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-12.41-generic
SourcePackage: openoffice.org
Uname: Linux 2.6.31-12-generic x86_64

** Affects: openoffice.org (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
regular expression ^ by itself does not work
https://bugs.launchpad.net/bugs/465309
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to