Skip to content

Scan %o, %x and %X properly #440

@Happypig375

Description

@Happypig375

Description

%x and %X scan like %d.

Repro steps

#r "nuget:FSharpPlus"
FSharpPlus.Parsing.trySscanf "%X %x" "13 43"

Expected behavior

Some (19, 67)

Actual behavior

Some (13, 43)

Known workarounds

None.

Related information

  • Operating system: Windows
  • Version: 1.1.7
  • .NET Runtime, CoreCLR or Mono Version: F# Interactive version 11.4.2.0 for F# 5.0

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