Is there a way, using regex, to catch a set of unicode characters? like everything from È to Ĭ (alt-200 to alt-300)?
I feel like you are not looking for this solution but is there a problem with $regex(aÈcatchĬb,/È(.*?)Ĭ/) $regml(1)
Yes, you can use the (*UTF8) modifier in the regex. The following example will return 1 because the given character is in the given range:
$regex(É,/(*UTF8)[È-Ê]/g)
Without (*UTF8), it does not work as intended: it returns 2 to indicate it (more or less accidentally) found two matching extended-ASCII bytes.
Wims: I meant "to" meaning everything from alt-200 to alt-300 (alt-201, alt-202, alt-203, etc). But yes, I can see where it could be misunderstood.
Sat: Thanks, that's what I was looking for. It is still causing issues, but I think I can work around them.