Dennis Marks wrote:
I'm trying to to a find and replace using regular expressions. I have
sentences in the format "nn:nn xxxxxxxxx". I want to replace it with
"nn:nn tabcharacter xxxxxxxx". Example "1:34 Now is the time" replace
with "1:34 tabcharacter Now is the time".
I use "([0-9]+:[0-9]+ )" in the find and "\1\t" in the replace.
The result is "\1 tabcharacter xxxxxxxx".
\1 should refer to the parenthesis info in the find but it does not. Why?
Alas, it ought to, but it doesn't. This commonly-found feature of
regular expressions is missing in OOo. A Request For Enhancement
(#15666) is on file. Vote for it.
--
John W. Kennedy
"The blind rulers of Logres
Nourished the land on a fallacy of rational virtue."
-- Charles Williams. "Taliessin through Logres: Prelude"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]