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

Ignore directives?

Aberta
#87 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
90
Forks
49
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.