https://bugs.kde.org/show_bug.cgi?id=294396

Darren Lissimore <darren.lissim...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darren.lissim...@gmail.com

--- Comment #2 from Darren Lissimore <darren.lissim...@gmail.com> ---
This actually still appears to be happening in Kate 17.08.1

Is regex searching within a range disabled for some reason? 

Test procedure:
a) Open html file - with lots of <div> tags .
b) Open Find bar - switch to power-search/replace
c) Set Mode to "Regular expression"
d) Enter '[ \t]{0,}(</div>)' in Find box
e) Select a range of the html file - lines X to X+y
   ( ensuring multiple </div> tags are in the selected range)
f) Ensure - "search in selection only" is on;
g) Press enter to find first occurrence - of the tag (should succeed)
h) Press enter again - should advance to next tag  ( Does not succeed)

Removing the "search in selection only" - and the "find next" "find previous"
work well. 
With the "search in selection only" - it finds the first occurrence then no
more. 

Problem may be in KateSearchBar::find() - and it's checks on regex mode and
selection with multi-line matching

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to