Skip to content

Matches using map keys containing a "-" do not work #8

@mschexnaydre

Description

@mschexnaydre

A match statement comparing a map[string]string key with an embedded dash/hyphen character "-" such as the example below never matches, even though the entry is present in the map. Other characters such as "_" work fine so there seems to be some sort of bug with the hyphen processing.

MyMap.some-key = foobar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions