Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

The problem with regexp in filter #113

@perrfect

Description

@perrfect

Hi.
I have some queues in the rabbitMQ, about 1000:

ha-collector-data-test2
ha-collector-data-1434
ha-collector-data-45-test3
ha-collector-data-terty4
ha-collector-data-341
etc.

And i need filter this queues. For example:
FILTER='[{"name": "ha-collector-data-test2"}, {"name": "ha-collector-data-1434"}, {"name": "ha-collector-data-45-test3"}, {"name": "ha-collector-data-terty4"} ]'

But, describe every queues in a separate name it is difficult

So, which a regular expression should i use for my queues which have same start names? I use, but it is wrong:

FILTER='{"name": "ha-collector-data-[a-zA-Z0-9]{1,100}"}'

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