Skip to content

add tr/// to trigger regex #1510

Description

@pascalpoitras

Feature description

Sometimes someone join #weechat and ask if this is possible to mimic tr in a trigger, tr/// instead of s///. It would be nice if we could use a prefix before the delimiter to specify the desired behavior, for example tr/abc/ABC/ and s/hi/hello/ and when there is no prefix, fallback to s///. But I just created a trigger with a letter as delimiter and the trigger is valid so I guess it's not possible this way since a delimiter can be a letter?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

featureNew feature request

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions