angular-translate / angular-translate/grunt-angular-translate

Ignore directives?

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
90
Forks
49
PR merge metrics
No merged PRs in 30d

Description

Hi!

I'm trying to extract from
```
{{entity.id}}
```

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
```
TRANSLATION
```

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.