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

Ignore directives?

未關閉
#87 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
90
分支
49
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。