regular expressions

how in libreoffice writer replace text:
/22./
to
/022./
??? regular expressions not working(or i don't know how to use them) in replace input. eg. i write "find: [:digit:][:digit:]. and replace with 0[:digit:][:digit:]." and result is "0[:digit:][:digit:]." and i want to get result like: "022."

version:
LibreOffice 3.3.1
OOO330m19 (Build:8)
tag libreoffice-3.3.1.2, Ubuntu package 1:3.3.1-1ubuntu3~maverick1

OS version: ubuntu 10.10

Hi,

even in a mailing list it would be polite to see a kind of
salutation and your real name.

how in libreoffice writer replace text:
/22./
to
/022./
??? regular expressions not working(or i don't know how to use them) in
replace input. eg. i write "find: [:digit:][:digit:]. and replace with
0[:digit:][:digit:]." and result is "0[:digit:][:digit:]." and i want to
get result like: "022."

If you want to do just that replacement you don't need regular
expression, just replace /22./ by /022./

If you want to replace any digit try
/[:digit:]{2}./ by /0&/
"&" is a placeholder that stands for the search result, as explained
in the LO help for regular expressions.

Karl-Heinz

imho if i want answer to my question i need to write as short as possible and give as much information as possible. if you want:
hello people,
i'm Algimantas. i'm live in east europe.
as i said imho it's uncessary offtopic and with this message i'm just wasting other peoples time and internet traffic. for chat there is other options.

Dear Algimantas,

gymka wrote:

imho if i want answer to my question i need to write as short as possible and give as much information as possible. if you want:

IMHO if you want an answer to my question it helps being kind and maintaining some 'social behaviour' as in any activity where developed humans relate to each other.

hello people,
i'm Algimantas. i'm live in east europe.
as i said imho it's uncessary offtopic and with this message i'm just wasting other peoples time and internet traffic. for chat there is other options.

Well... no one asked for your full autobiography... I guess people won't bother for the ~30 bytes bandwidth spent in a nice, friendly greeting

BTW (still IMHO) - As someone took the time to answer your question (and possibly solve your issue) in less than 1 hour from your post a "Thank you" would have been nice :wink:

Lorenzo.

Hi,

(cut)

how in libreoffice writer replace text:
/22./
to
/022./
??? regular expressions not working(or i don't know how to use them) in
replace input. eg. i write "find: [:digit:][:digit:]. and replace with
0[:digit:][:digit:]." and result is "0[:digit:][:digit:]." and i want to
get result like: "022."

If you want to do just that replacement you don't need regular
expression, just replace /22./ by /022./

If you want to replace any digit try
/[:digit:]{2}./ by /0&/
"&" is a placeholder that stands for the search result, as explained
in the LO help for regular expressions.

Karl-Heinz

We publish in our 16th edition of the BrOffice Magazine[1] (Brazilian

community that supports Libreoffice) a well-depth article on the subject by
Julio Neves. Unfortunately it's in Brazilian Portuguese, but interesting if you
can download the magazine in pdf and use a translator, what do you think?

[1]
http://wiki.broffice.org/raw-attachment/wiki/Zine/Edicoes/RB-ED016.pdf?format=raw

Rgds,

Luiz Oliveira
BrOffice Community

thank you.

If you want to replace any digit try
/[:digit:]{2}./ by /0&/
"&" is a placeholder that stands for the search result, as explained
in the LO help for regular expressions.

Karl-Heinz

@K-H
I was just working with regex in LO 3.3.1 (osx) and was unsuccessful with with placeholders (the placeholder was placed in text). I found two different bits of documentation (internal and wiki) that were not totally consistent and examples did not work. Ran out of time on underlying project so did not resolve what issue was. This was on my "list" to address but have yet to get to it.... Can you confirm both styles of placeholders work and offer example that worked for you?

Marc

Please take me off the mailing list or tell me how to. 
TYVM  JAD

Get yourself out of what you got yourself into!

Now you want donators, etc. to help you undo what you unwittingly subscribed to.

How many time have you done this to other user-supported sites?

Grow up!

Please take me off the mailing list or tell me how to.
TYVM JAD

________________________________
From: Marc Grober <marc@interak.com>
To: "users@libreoffice.org" <users@libreoffice.org>
Sent: Mon, March 7, 2011 8:31:37 AM
Subject: Re: [libreoffice-users] regular expressions

If you want to replace any digit try
/[:digit:]{2}./ by /0&/
"&" is a placeholder that stands for the search result, as explained
in the LO help for regular expressions.

Karl-Heinz

@K-H
I was just working with regex in LO 3.3.1 (osx) and was unsuccessful with with
placeholders (the placeholder was placed in text). I found two different bits of
documentation (internal and wiki) that were not totally consistent and examples
did not work. Ran out of time on underlying project so did not resolve what
issue was. This was on my "list" to address but have yet to get to it.... Can
you confirm both styles of placeholders work and offer example that worked for
you?

Marc
--
Unsubscribe instructions: E-mail to users+help@libreoffice.org
List archive: http://listarchives.libreoffice.org/www/users/
*** All posts to this list are publicly archived for eternity ***

--
Unsubscribe instructions: E-mail to users+help@libreoffice.org
List archive: http://listarchives.libreoffice.org/www/users/
*** All posts to this list are publicly archived for eternity ***

Glenn
glennst01@gmail.com

Just read what it says below (or at the bottom of ALL emails to this list).

Ouch! And they say I'm, eh, let's call it short-worded....

FTR, the list instructions don't always work well (although that may
have been fixed). Another place to go is:

http://lists.freedesktop.org/mailman/listinfo/libreoffice

See near the bottom where it says:
LibreOffice Subscribers
To unsubscribe from LibreOffice, get a password reminder, or change your
subscription options enter your subscription email address:

Enter your email address and follow-through.

Hi Marc,

K-H,

Found this: http://openoffice.org/bugzilla/show_bug.cgi?id=90025
and apparently it is still an issue in as much as project I was working
on at the time required substitution in an html page indexing a series
of other documents by their URL....

So the bug is still present, but only presents itself in specific
limited situations.

under OOo it was easy to add or update a bug - not so sure with LO.

How can I switch this list to a "daily digest" format, please?

How can one express to others how inappropriate it is to hijack a thread
to discuss something that is NOT pertinent

As a new user, I am somewhat discouraged by the tone of your remarks.
Perhaps you would care either to answer the question or to direct me to
someone who can.

Hi Peter,

Peter G. Underwood wrote

How can I switch this list to a "daily digest" format, please?

Send a mail to users+help@libreoffice.org for all instructions (see the footer of this mail).

Cor

See my last email for how/why this footer is lacking...

Please read what it says below and get help from the same email
address as unsubscribe.

Do I take it that you're not open to constructive criticism, abrupt though
it may be?