Skip to content

HDFStore.__contains__ bug due to use of regex #2694

Closed
@bsdfish

Description

@bsdfish

HDFStore.contains takes the node name and uses it as a pattern to search for. That crashes if the name of the node isn't a valid regex, for example "node1(()" and doesn't function correctly if the node name is a valid regex but doesn't necessarily match itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIO DataIO issues that don't fit into a more specific label

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions