Skip to content

Ignore directives? #87

@fidjetunnafcillin

Description

@fidjetunnafcillin

Hi!

I'm trying to extract from

<td data-title="{{ 'SEARCH.SAMPLES.ID' | translate }}">{{entity.id}}</td>

If a use a custom regex, I can get what I need (SEARCH.SAMPLES.ID)

The problem is that {{entity.id}} is also extracted. I believe it happens because it matches a directive

<any translate>TRANSLATION</any>

I don't want to modify existing code. Is there any way to ignore directives (or any other pattern) while extracting? I would only like to use my custom regex and a filter ( {{'TRANSLATION' | translate}} ) and ignore anything else.

Metadata

Metadata

Assignees

No one assigned

    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