Skip to content

Capture group support? #20

@oguzgelal

Description

@oguzgelal

In order to do things like:

escapeHTML(text).replace(
  urlRegexSafe(),
  '<a href="$1" target="_blank" rel="noreferrer noopener">$1</a>'
)

Metadata

Metadata

Assignees

No one assigned

    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