allows modifiers in parse_as _rest, thanks Denes