Bug 375552 - Search in files does not show results when search string ends with parenthese
Summary: Search in files does not show results when search string ends with parenthese
Status: CONFIRMED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: default (show other bugs)
Version: 5.8.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Development Mailing List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2017-01-25 16:02 UTC by Teunizz
Modified: 2018-05-09 21:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Teunizz 2017-01-25 16:02:13 UTC
I have a directory with some source files. A couple of files contains
function headers like "filter(int)".

In Dolphin, I press Ctrl-f, select "content", "From Here ...",
and enter: filter(

No results. When I enter: filter

it shows a list of files that contains the search string.
Comment 1 Elvis Angelaccio 2017-01-25 18:39:26 UTC
That's because the filenamesearch ioslave uses regular expressions.
If you type "filter\(" (without quotes) you will see the expected list of files.

This is not user-friendly, indeed. We could add an additional query item to the filenamesearch URL that tells the ioslave whether the user wants to use regexes.

Re-assigning to kio-extras for now, even though we'll also need a "Use regex" checkbox or toolbutton on the Dolphin side.