Ask Your Question
1

\t $ \n work in find, but not in replace [closed]

asked 2012-04-28 21:09:13 +0100

aloyse gravatar image

updated 2013-01-27 11:17:44 +0100

manj_k gravatar image

I'm trying to replace some special characters, I've checked the case for Regular Expressions, find and replace finds the characters (for example the paragraph break $), but when I try to replace $ with \t, \t is inserted as text. What am I doing wrong?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-21 00:01:00.278624

2 Answers

Sort by » oldest newest most voted
1

answered 2012-04-29 03:10:47 +0100

mikebibo gravatar image

updated 2013-01-27 08:06:04 +0100

qubit gravatar image

Reported behaviour verified in LibreOffice 3.4.6 on OSX 10.7 and LibreOffice 3.5.2 on Ubuntu 10.4.

I don't think you are doing anything wrong. There are a number of bug reports about replace and regular expressions, including this one: https://bugs.freedesktop.org/show_bug.cgi?id=43107

edit flag offensive delete link more

Comments

fdo#43107 currently has status of NEW.

There are comments on this bug from October and November (2012) that this problem is still present in 3.6.x builds for Windows and for OSX.

Please follow fdo#43107 for bugfix activity.

qubit gravatar imagequbit ( 2013-01-27 08:11:26 +0100 )edit
1

answered 2012-04-29 23:59:41 +0100

m.a.riosv gravatar image

I think this extension for writer can solve the question: http://extensions.services.openoffice.org/en/project/AltSearch

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-04-28 21:09:13 +0100

Seen: 944 times

Last updated: Jan 27 '13