Skip to content

Simplify code with string.matchAll() #5

@felixfbecker

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

Metadata

Metadata

Assignees

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