Page 1 of 1

Lookahead and Lookbehind in AltSearch

Posted: Mon Mar 28, 2016 2:39 pm
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)