A simple example...
Document text:
Code: Select all
..Some text here...
abc
abcdef
ghighi
jkl
more text here...Code: Select all
Find what: ^(.+)\n\1(.+)
[x] Regular expressionCode: Select all
[x] POSIX regular expression syntaxCode: Select all
"abc
abcdef""Invalid regular expression"
If the reference to the "tagged expression" is on the same line as the "tagged expression", then it works fine ...
Search text:
Code: Select all
Find what: ^(.+)\1\n(.+)
[x] Regular expressionCode: Select all
ghighi
jklKevin