diff --git a/lib/twine/placeholders.rb b/lib/twine/placeholders.rb index 9f1828e..1c7b200 100644 --- a/lib/twine/placeholders.rb +++ b/lib/twine/placeholders.rb @@ -3,7 +3,7 @@ module Twine extend self # Note: the ` ` (single space) flag is NOT supported - PLACEHOLDER_FLAGS_WIDTH_PRECISION_LENGTH = '([-+0#])?(\d+|\*)?(\.(\d+|\*))?(hh?|ll?|L|z|j|t)?' + PLACEHOLDER_FLAGS_WIDTH_PRECISION_LENGTH = '([-+0#])?(\d+|\*)?(\.(\d+|\*))?(hh?|ll?|L|z|j|t|q)?' PLACEHOLDER_PARAMETER_FLAGS_WIDTH_PRECISION_LENGTH = '(\d+\$)?' + PLACEHOLDER_FLAGS_WIDTH_PRECISION_LENGTH PLACEHOLDER_TYPES = '[diufFeEgGxXoscpaA]'