if (iterator.atEnd()) {
break;
}
IElementType tokenType = iterator.getTokenType();
if (getTokenGroup(tokenType, fileType) == group) {
<BUG>String tagName = myMatcher == null ? null : myMatcher.getTagName(fileText, iterator);
</BUG>
if (!isStrict && !Comparing.equal(brace1TagName, tagName, isCaseSensitive)) continue;
if (forward ? isLBraceToken(iterator, fileText, fileType) : isRBraceToken(iterator, fileText, fileType)){
ourBraceStack.push(tokenType);

if (iterator.atEnd()) {
break;
}
IElementType tokenType = iterator.getTokenType();
if (getTokenGroup(tokenType, fileType) == group) {
String tagName = myMatcher == null ? null : getTagName(myMatcher,fileText, iterator);
if (!isStrict && !Comparing.equal(brace1TagName, tagName, isCaseSensitive)) continue;
if (forward ? isLBraceToken(iterator, fileText, fileType) : isRBraceToken(iterator, fileText, fileType)){
ourBraceStack.push(tokenType);
