Skip to content

collapse_nums not collapsing all numbers. e.g. "temp_123_3" #703

@woehrl01

Description

@woehrl01

Describe the bug

When I use collapse_nums not all numbers are collapsed, the following string is returned as is temp_23_175863242537_93_98

To Reproduce

* | limit 1 | format 'temp_23_175863242537_93_98_ abc 123 test' as _msg | collapse_nums

returns:

temp_23_175863242537_93_98_ abc <N> test

expected:

temp_<N>_<N>_<N>_<N>_ abc <N> test

Version

1.33.0

Logs

No response

Screenshots

No response

Used command-line flags

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions