]> git.lyx.org Git - features.git/commit
FindAdv: Polishing search with regex containing '.'
authorKornel Benko <kornel@lyx.org>
Mon, 12 Nov 2018 11:17:16 +0000 (12:17 +0100)
committerKornel Benko <kornel@lyx.org>
Mon, 12 Nov 2018 11:28:31 +0000 (12:28 +0100)
commit636bb6c2d95c49c93509a1ec18d094e20f6361d0
tree17467ce173d71bbc761f7876b8601f3166bd0361
parent1ff0816a022355d0a7200eb69eca374bd65d34c5
FindAdv: Polishing search with regex containing '.'

Also added missing math env alignat
Modified handling of longtable/tabular
Added a routine to count for valid chars. This is needed
for detection of word boundaries.

Due to detection conflicts
regex '.*' vs match of word-boundaries in MatchStringAdv::operator()
we need to use '\b' in regex explicitly. E.g. '\b.*\b'

The backward search works, but
1.) only in current paragraph (this is the same as before)
2.) only in the same language environment.
src/lyxfind.cpp