Skip to content

Subpatterns #5

Open
Open
@Col-E

Description

@Col-E

Lets say I have the following text:

<span class="code">pom.xml</span>

I can make a rule that registers <span class="code"> and </span> as HTML tags (<[\s\w="\/;'.,:?-]+>), but I then want to look inside the matched region and match keywords like class and strings. I can't do this with single-level patterns. This will need sub-patterns to accomplish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions