[AS3.0] RegExp: characters w diacritics

Hi there/here :slight_smile:

Is there a way to allow characters with diacritics in RegExp?

ex: we would use:
/[a-z\s]/gi
to allow string containing alphabetical characters/words, separated by empty spaces…

but there seems to be no character-selection-group available to use when we want to allow characters with diacritics, and also /i performs case-insensitive match for [a-z] and [A-Z] (but not special** characters w diacritics **like š,ľ,č,ť,ž,ý,á,í,é… ), so how can we allow these characters using RegExp?

Is there better way than writing down all the characters with diacritics we want to allow (including their case-sensitive counterparts) …


/[a-z\säÄáÁčČďĎéÉíÍľĽĺĹňŇóÓôÔŕŔřŘšŠťŤúÚýÝžŽöÖüÜß]/gi

… and pray we didnt forget anything :stuck_out_tongue: ?

Thanks for Your care.