Escape trailing « . » on key prefixes

This commit is contained in:
Mathieu Darse
2015-11-05 11:42:43 +01:00
parent 79142bff10
commit f94b4c6b80
2 changed files with 8 additions and 3 deletions

View File

@@ -105,6 +105,11 @@ true|<text:"true">
# Metadata (EXIF or anything else) matcher
meta.MimeType:image/jpeg|<metadata:MimeType value:"image/jpeg">
# Unescaped "." issue on key prefixes
fieldOne:foo|(<field:fieldOne> MATCHES <text:"foo">)
flagged:true|(<field:flagged> MATCHES <text:"true">)
metadata:foo|(<field:metadata> MATCHES <text:"foo">)
# Matcher on unknown name --> fulltext
foo:bar|(<field:foo> MATCHES <text:"bar">)
foo:bar AND baz|((<field:foo> MATCHES <text:"bar">) AND <text:"baz">)
Can't render this file because it contains an unexpected character in line 1 and column 11.