Filter (for latin letters in greek artist or title) not working as expected

Why this is not working.

* MATCHES [A-Z]

on this artist and title names in a list:

Στέλιος καζαντζίδhς (artist tag problem letter h)
H κοινωνία (title tag problem letter H)

* is no field name.
See the documentation on the filter syntax:

Try
%artist% MATCHES [A-Z] OR %title% MATCHES [A-Z]

Yes i tried it and it works but the documentation says this:

MATCHES

Returns only files where the content of the tag field named matches against the regular expression . You can use * to address all fields.

You are right.
Then the * was not the cause.
I just tried
* MATCHES [h]
and it returned all the files with an "h" in it, including
H κοινωνία
and
Στέλιος καζαντζίδhς

I just tried again with
* MATCHES [h]
and it doesn't work for me. But i don't want * MATCHES [h] i need * MATCHES [A-Z]

What am I supposed to test?
If I enter

then I get all the files in my collection because they all contain one of the latin alphabet letters somewhere.
If I use the restricted one, looking only for the "h", then I get all the other files plus the string that you supplied in your example.
I just tried
* MATCHES [α]
and I got only the files with
Στέλιος καζαντζίδhς
H κοινωνία
and
George Pallikaris | Γεώργιος Παλλικάρης

So I would think that the filter works.

Ok.
The list is this:

Στέλιος καζαντζίδης - h κοινωνία
Στέλιος καζαντζίδης - Το πιο πικρό ψωμί
Στέλιος καζαντζίδης - Θα πάω σ'άλλες πολιτείες
Στέλιος καζαντζίδης - Στο πιο όμορφο χαρέμι
Στέλιος καζαντζίδης - Βρε σαν τα χιόνια
Στέλιος καζαντζίδης - Καλύτερα μια μαχαιριά
Στέλιος καζαντζίδης - Σαν σήμερα χωρίσαμε
Στέλιος καζαντζίδης - Μη μου χαλάς τα γούστα μου
Στέλιος καζαντζίδης - Αν ήξερες ποιός είμαι εγώ
Στέλιος καζαντζίδης - Έφυγες και που μ'αφήνεις
Στέλιος καζαντζίδης - H πρώτη σου αγάπη είμαι εγώ
Στέλιος καζαντζίδης - Ουίσκι, τζιν και φρούμελ
Στέλιος καζαντζίδης - Καταραμένη να 'σαι
Στέλιος καζαντζίδης - Μακάρι να πεθάνω
Στέλιος καζαντζίδης - Γειτονιά μου αγαπημένη
Στέλιος καζαντζίδhς - Χίλιες νύχτες όμορφες
Στέλιος καζαντζίδης - Το κόκκινο μαντήλι
Στέλιος καζαντζίδης - Το πουκάμισο
Στέλιος καζαντζίδης - Περασμένες 12
Στέλιος καζαντζίδης - Για μένα αστράφτει και βροντά
Στέλιος καζαντζίδης - Το κλάμα τHς πενιάς
Στέλιος καζαντζίδης - Φινίτα λα μούζικα

When i use * MATCHES [Ξ] (the greek letter) it returns
Στέλιος καζαντζίδης - Αν ήξερες ποιός είμαι εγώ

but when i use * MATCHES [H] (the english letter) i don't get this files
Στέλιος καζαντζίδης - h κοινωνία
Στέλιος καζαντζίδης - H πρώτη σου αγάπη είμαι εγώ
Στέλιος καζαντζίδhς - Χίλιες νύχτες όμορφες
Στέλιος καζαντζίδης - Το κλάμα τHς πενιάς

If i am not wrong when i enter * MATCHES [H] or the * MATCHES [A-Z] for this list not all the files contain latin alphabet letters in them???

I'm not perfectly sure, but AFAIK [A-Z] is looking for UPPERCASE latin letters A to Z, not finding lowercase one as in [a-z]. Could that be a reason?

For
Χίλιες νύχτες όμορφες
the first letter X is not a latin X it is a
U+03A7 : GREEK CAPITAL LETTER CHI

For
Το κλάμα τHς πενιάς
the first letter T is not a latin T it is a
U+03A4 : GREEK CAPITAL LETTER TAU

No, the filters are not case-sensitive.
If you want to have the files with "h" but not with "H" use
* MATCHES (?-i)[h]

Also it could be that adding inverted commas may help:
* MATCHES "[A-Z]"

But so far I always got the expcted hits.
Could it be tha the "h" only looks like a latin "h" but is a different character?

Ok. I am asking a big SORRY for that but it was mind blowing.
* MATCHES [A-Z] matches everything because the filename or other tags has english characters in them.
after clearing everything it works fine.
Again SORRY.

So

is the solution: be as specific as possible?

Yes.
%artist% MATCHES [A-Z] OR %title% MATCHES [A-Z] is the right one.
Because i think that even if the filenames are in greek, the * captures the extension.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.