Invalid regular expression issue

Hello,
I am not sure if i am the only one facing this issue but i am facing an issue with JS library. I am using 1.89

The error message:
Cesium.js:formatted:70357 Uncaught SyntaxError: Invalid regular expression: /[א-ת؀-ۿݐ-ݿࢠ-ࣿ]/: Range out of order in character class
at new RegExp ()
at Cesium.js:formatted:70357:20
at Cesium.js:formatted:2:148
at Cesium.js:formatted:3:2

Code block:
Label.enableRightToLeftDetection = !1;
var hebrew = “א-ת”
, arabic = “Ø€-ۿݐ-ݿࢠ-ࣿ”
, rtlChars = new RegExp("[" + hebrew + arabic + “]”);
function reverseRtl(e) {

Hi @Safak,

Welcome to the community! :grinning: :rocket:

It seems like you may be using characters that are not recognized by JavaScript. Can you share a little bit more information about your use case? Any suggestions from the rest of the community?

Best,
Sam

Hello @sam.rothstein,
Thank you for the response.
I found those:

I am testing it right now.

Hi @Safak,

Great - please keep me posted.

Best,
Sam