[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Baloo] [Bug 339908] baloo_file_extractor ignoring files it should not ignore because of regexp
From: Dominik Cermak <d.cermak () arcor ! de>
Date: 2014-10-15 12:05:46
Message-ID: bug-339908-17878-UAk7dzTAlB () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=339908
Dominik Cermak <d.cermak@arcor.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version Fixed In| |5.1.1
Resolution|--- |FIXED
Latest Commit| |http://commits.kde.org/balo
| |o/863ccc6f7901528338efabfef
| |78098fc72cbd94f
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Dominik Cermak <d.cermak@arcor.de> ---
Git commit 863ccc6f7901528338efabfef78098fc72cbd94f by Dominik Cermak.
Committed on 14/10/2014 at 11:36.
Pushed by cermak into branch 'Plasma/5.1'.
Escape dots in exclude filters
In regular expressions a dot (.) matches any character (except newline)
but in the exclude filters we use wildcard syntax (*) and want a dot (.)
to be interpreted as a character.
Example: With "*.o" in the exclude filters the user expects object
files (ending with .o) are excluded. Without escaping this would match
every file and folder ending with o though. This is the case for all
entries of that form in exlude filters ("*.moc", "*.la", etc.)
So just escape every dot we find in exclude filters with a backslash
while building the regexp.
FIXED-IN: 5.1.1
REVIEW: 120570
M +1 -0 src/file/regexpcache.cpp
http://commits.kde.org/baloo/863ccc6f7901528338efabfef78098fc72cbd94f
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic