Skip to content

Can I split long regex into multiple lines? #8

@dausruddin

Description

@dausruddin

Since there is a lot to type for each replacement, I am combining many regex into one. But this resulting in a very long line. Can I somehow split a regex into multiple lines in this module? Something like:

filter {
    search_pattern "(todelete1\
|todelete2\
|todelete3)"
    replacement ""
    content_type html
}

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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