Bug #4380
PCRE regex queries in "Subtitle"
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-05-18
Due date:
% Done:
0%
Estimated time:
Found in version:
4.3-103
Affected Versions:
Description
Doesn't seem to work in "Subtitle"... can you doublecheck this please?
The results should'n show anything with "Deutschland"... see attachment...
Files
History
Updated by Jaroslav Kysela over 7 years ago
- Status changed from New to Rejected
PCRE is fine. Your query is wrong. It's not easy to exclude one word but match other with regex. Debug your queries at: https://regex101.com/ (for example)
Updated by Jaroslav Kysela over 7 years ago
Note that ANY match for tvh is POSITIVE. Including empty strings.
Updated by Dirk Diggler over 7 years ago
The guys from #regex say the expression is ok.
I checked with Regex101.
Seems like lookaheads work in the tool, but it is still returning some incorrect results for some reason.
Updated by Jaroslav Kysela over 7 years ago
The fulltext matches for 'title', 'subtitle', 'summary', 'description' separately (it means if the description (example) is 'ok' for the regex match, it succeeds).