Regular expressions and characters as č, ? ť ...
Hi. I have this problem with regular expressions. The next piece of code is work only with string without diacritics. If I use as pattern character with diacritic the matcher is not find any occurence of a character. The code:
String pat ="č";// "a"
String text ="naj čalamada"
Pattern pattern = Pattern.compile(pat, Pattern.CASE_INSENSITIVE);
Matcher matcher = pattern.matcher(text);
while (matcher.find()){}
If I uncomment character 'a' its occurence will be founded but occurence of 'č' is not found. :(
Can you tell me what is wrong ?
If I use flag Pattern.CASE_INSENSITIVE | Pattern.CANON_EQ nothing will be changed.
Thanks for all replays.

