diff options
-rw-r--r-- | src/util/format.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/format.c b/src/util/format.c index 250bdd7ea..66243c8ec 100644 --- a/src/util/format.c +++ b/src/util/format.c @@ -74,7 +74,8 @@ skip_format(const char *p) static bool is_name_char(char ch) { - return ch >= 'a' && ch <= 'z'; + return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || + (ch >= '0' && ch <= '9') || ch == '_'; } static char * |