--- src/apprentice.c | 8 ++++++++ 1 file changed, 8 insertions(+) --- src/apprentice.c +++ src/apprentice.c 2016-04-18 11:33:37.966264194 +0000 @@ -2350,8 +2350,16 @@ check_format_type(const char *ptr, int t } } else h = 0; + if (*ptr == '#') + ptr++; + if (*ptr == ' ') + ptr++; if (*ptr == '-') ptr++; + if (*ptr == '+') + ptr++; + if (*ptr == '\'') + ptr++; if (*ptr == '.') ptr++; #define CHECKLEN() do { \