Skip to content

parse with hyphen inside the Bracket format cant be recognized  #86

@shiywang

Description

@shiywang
rp = parse.parse("RHEL-{rhel-version}-OSE-{ose-version}", pv)
rb = parse.parse("rhaos-{ose-version}-rhel-{rhel-version}", branch)

rp['rhel-version']  == None

but when I change to

rp = parse.parse("RHEL-{rhel}-OSE-{ose}", pv)
rb = parse.parse("rhaos-{ose}-rhel-{rhel}", branch)

it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions