Skip to content

docs: response-rewrite plugin support for regular expressions #7130

Description

@NMichas

Current State

response-rewrite plugin supports regular expressions, however the current doc page (https://apisix.apache.org/docs/apisix/plugins/response-rewrite) does not reflect that.

Desired State

Provide additional documentation/examples, showing the use of regular expressions. It would be beneficial if examples also showcase how multiple replacements for the same request can be performed, i.e.
<a href="/'> -> <a href="/some-other-path'>
<img src="/a.png'> -> <img src="/some-other-path-a.png'>

Metadata

Metadata

Assignees

No one assigned

    Labels

    docDocumentation thingsgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions