Skip to content

Simplify code with string.matchAll() #5

Description

@felixfbecker

The current code with regex looks very complex. As many extensions work the same way, we should have a clean example of how to do it.

This would be much simpler with string.matchAll(): https://developers.google.com/web/updates/2019/02/string-matchall

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions