Lookahead and Lookbehind in AltSearch

Discussions about using 3rd party extension with OpenOffice.org
Post Reply
silvain
Posts: 3
Joined: Thu Dec 31, 2015 6:20 pm

Lookahead and Lookbehind in AltSearch

Post by silvain »

AltSearch extension is a very useful extension (Alternative Search and Replace).
There is one limitation I would like to overcome:
Lookahead and Lookbehind Regexp feature does not seem to function
although it does work in the normal Search and Replace (LibreOffice 5) with Regexp enabled.
It would be nice to have this feature working in AltSearch also.
For example

Code: Select all

(?<=\()[^\(\)]*(?=\))
searches expressions in parentheses, selecting the expression itself, not the parenthesis around
(

Code: Select all

(?<=\()
and

Code: Select all

(?=\))
are the lookahead and lookbehind)
LibreOffice 5.0.3.2 - Windows 7 and Linux Ubuntu 14.04
Post Reply