Visitar URL original
Hexadecimal ints not handled? · Issue #593 · google/re2 · GitHub
Skip to content

Hexadecimal ints not handled? #593

Open

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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