[Wylug-help] OpenOffice Regular Expression Search and Replace

Smylers Smylers at stripey.com
Thu May 31 17:37:29 BST 2007


Dave Fisher writes:

> ... realise that you have been bundling together of a whole family of
> related things in one undifferentiated glob of (psuedo-) 'knowledge',

No, a glob is quite different again -- that's for matching filenames in
the shell!

> What I really wanted to know was:
> 
>   1. Is it actually possible to do anything but trivial substitutions
>      using regexes in OO?
> 
>   2. If so, how?
> 
> I'm guessing that, in the absence of backreferences like \1 or $1, the
> answer to Q1 may be, no.

Except that I was wrong on that; see Mark's answer.  In OO's regular
expression help the documentation for parens mentions that
backreferences are possible.

Smylers



More information about the Wylug-help mailing list