← Back to team overview

desktop-packages team mailing list archive

[Bug 465323] Re: $1 etc. do not work in Replace of Find & Replace

 

jimav, does this issue occur for you in LibreOffice? If your using Lucid
or Maverick feel free to type at the Terminal:

sudo add-apt-repository ppa:libreoffice/ppa && sudo apt-get update &&
sudo apt-get -y upgrade && sudo apt-get -y install libreoffice-writer


** Also affects: libreoffice (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: libreoffice (Ubuntu)
       Status: New => Incomplete

** Changed in: openoffice
       Status: New => Invalid

-- 
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/465323

Title:
  $1 etc. do not work in Replace of Find & Replace

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

Bug description:
  Binary package hint: openoffice.org

  In Find & Replace, the use of (...) in the Find expression is supposed
  to create a reference which can be used in the Replace expression via
  $1 ($2 for the second (...) etc.).   At least that is how I read the
  OO docs on Regular Expressions.   It is also how regular expressions
  work in many other programs.

  However, using $1 in the Replace field just puts in a litera "$1"
  instead of substituting the text from the "Search for" expression.

  EXAMPLE:
  If the text contains "My dog has fleas", then setting the Search expression to "My (...) has fleas" and the Replace expression 
  to "My $1 is smart" Should change the text to "My dog is smart".   However, the result is "My $1 is smart".

  ProblemType: Bug
  Architecture: amd64
  Date: Fri Oct 30 11:44:35 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/465323/+subscriptions