Skip to content

toolkit.nu: file name regex parsing is incorrect #46

Description

@pickx

as of today, the file name of the nightly is nu-0.109.2-nightly.19-aarch64-apple-darwin.tar.gz
the regex used by toolkit.nu is
nu-(?<version>\d\.\d+\.\d)-(?<arch>[a-zA-Z0-9-_]*)\.(?<extension>.*)
and results in

╭───────────┬────────────────────────────────╮
│ version   │ 0.109.2                        │
│ arch      │ nightly                        │
│ extension │ 19-aarch64-apple-darwin.tar.gz │
╰───────────┴────────────────────────────────╯

and so anything that depends on this parsed record fails.

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