mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-07-08 03:09:03 +00:00
add utf8 support
This commit is contained in:
@ -129,7 +129,8 @@ namespace exprtk
|
|||||||
inline bool is_letter(const char_t c)
|
inline bool is_letter(const char_t c)
|
||||||
{
|
{
|
||||||
return (('a' <= c) && (c <= 'z')) ||
|
return (('a' <= c) && (c <= 'z')) ||
|
||||||
(('A' <= c) && (c <= 'Z')) ;
|
(('A' <= c) && (c <= 'Z')) ||
|
||||||
|
((c < 0) || (127 < c)) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool is_digit(const char_t c)
|
inline bool is_digit(const char_t c)
|
||||||
|
Reference in New Issue
Block a user