If current character in the pattern is '*
' NEW_LINE INDENT if ( pattern [ j ] == ' * ' ) : NEW_LINE INDENT if ( pattern [ j - 1 ] != text [ i ] and pattern [ j - 1 ] != ' . ' ) : NEW_LINE DEDENT DEDENT