Iterator<Suggestion> itSuggestion = suggestions.iterator();
while (itSuggestion.hasNext()) {
Suggestion suggestion = itSuggestion.next();
if (suggestion.getPatternText().startsWith("\\{\\{")) {
itSuggestion.remove();
Matcher matcher = suggestion.initMatcher(contents);
// Check suggestion on every template
for (PageElementTemplate template : templates) {
int begin = template.getBeginIndex();
if (matcher.region(begin, contentsLength).lookingAt()) {