forked from ricardoelices/TGBotLazarus
-
Notifications
You must be signed in to change notification settings - Fork 18
Not detecting unicode symbols in fp-telegram #17
Copy link
Copy link
Open
Description
Good morning!
I'm trying to make my BOT detect unicode symbols lilke fractions in a TRegExpr expression:
'((?:\d+\s?(?:1/8|1/4|3/8|1/2|5/8|3/4|7/8|\¼|\½|\¾|\⅛|\⅜|\⅝|\⅞)|\d+(?:[.,]\d+)?))#',
But the unicode symbols are not detected in a message, but are detected in a string that I put the symbol on it manually.
So for example I put a message with ¼" and it's not converting to milimiters, I need to put 1/4" to work.
How to solve this problem?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels