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

**URL:** https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928
**Category:** Support
**Created:** [May 9, 2023, 8:56pm UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928 "2023-05-09T20:56:58Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Stem75](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stem75/32/5007_2.png) [@Stem75](https://community.mp3tag.de/u/Stem75)
#### Post date: [May 9, 2023, 8:56pm UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/1 "2023-05-09T20:56:58Z")

</div>

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)

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [May 10, 2023, 5:22am UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/2 "2023-05-10T05:22:14Z")

</div>

> [@Stem75](#):
>
> - MATCHES [A-Z]

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

> **[Filter and Search – Mp3tag Documentation](https://docs.mp3tag.de/filter/)**
>
> Documentation on Filter and Search and keywords to form complex filter expressions. Mp3tag is the universal Tag Editor.

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

---

<div class="post-metadata">

### Author: ![Stem75](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stem75/32/5007_2.png) [@Stem75](https://community.mp3tag.de/u/Stem75)
#### Post date: [May 10, 2023, 6:37am UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/3 "2023-05-10T06:37:51Z")

</div>

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**.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [May 10, 2023, 6:47am UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/4 "2023-05-10T06:47:05Z")

</div>

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ς

---

<div class="post-metadata">

### Author: ![Stem75](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stem75/32/5007_2.png) [@Stem75](https://community.mp3tag.de/u/Stem75)
#### Post date: [May 10, 2023, 6:52am UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/5 "2023-05-10T06:52:17Z")

</div>

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]

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [May 10, 2023, 6:58am UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/6 "2023-05-10T06:58:03Z")

</div>

What am I supposed to test?  
If I enter

> [@Stem75](#):
>
> `*` MATCHES [A-Z]

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.

---

<div class="post-metadata">

### Author: ![Stem75](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stem75/32/5007_2.png) [@Stem75](https://community.mp3tag.de/u/Stem75)
#### Post date: [May 10, 2023, 7:19am UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/7 "2023-05-10T07:19:18Z")

</div>

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???

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [May 10, 2023, 7:22am UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/8 "2023-05-10T07:22:46Z")

</div>

> [@Stem75](#):
>
> But i don't want `*` MATCHES [h] i need `*` MATCHES [A-Z]

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

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [May 10, 2023, 7:28am UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/9 "2023-05-10T07:28:22Z")

</div>

> [@LyricsLover](#):
>
> lowercase

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?

---

<div class="post-metadata">

### Author: ![Stem75](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stem75/32/5007_2.png) [@Stem75](https://community.mp3tag.de/u/Stem75)
#### Post date: [May 10, 2023, 7:28am UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/10 "2023-05-10T07:28:43Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [May 10, 2023, 7:31am UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/11 "2023-05-10T07:31:35Z")

</div>

So

> [@ohrenkino](#):
>
> `%artist% MATCHES [A-Z] OR %title% MATCHES [A-Z]`

is the solution: be as specific as possible?

---

<div class="post-metadata">

### Author: ![Stem75](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stem75/32/5007_2.png) [@Stem75](https://community.mp3tag.de/u/Stem75)
#### Post date: [May 10, 2023, 7:37am UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/12 "2023-05-10T07:37:39Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [June 9, 2023, 7:37am UTC](https://community.mp3tag.de/t/filter-for-latin-letters-in-greek-artist-or-title-not-working-as-expected/60928/13 "2023-06-09T07:37:56Z")

</div>

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