Skip to content

Hexadecimal ints not handled? #593

@sh1boot

Description

@sh1boot
MatchFull("0x1234", "(0x[[:xdigit:]]+)", &x);

Works when x is a string but not when x is an int. Is there a way to enable different bases in integer conversion?

I suppose in some fantasy world the base of the integer string could be deduced from the characters allowed to match, but I wouldn't advocate for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions