← Back to team overview

desktop-packages team mailing list archive

[Bug 465309] Re: regular expression ^ by itself does not work in Find & Replace of Basic code

 

** Changed in: openoffice.org (Ubuntu)
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/465309

Title:
  regular expression ^ by itself does not work in Find & Replace of
  Basic code

Status in The OpenOffice.org Suite:
  New
Status in “libreoffice” package in Ubuntu:
  Triaged
Status in “openoffice.org” package in Ubuntu:
  Won't Fix

Bug description:
  Binary package hint: openoffice.org

  In Find&Replace, a regular expression of  "^" (without the quotes)
  never matches anything in the Basic macro editor (it reportedly does
  work in document text).  "^" 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openoffice/+bug/465309/+subscriptions