public static boolean matchType2(String move) {
    char p = move.charAt(0);
    char a = move.charAt(1);
    char b = move.charAt(2);
    return (p == PGNParser.PAWN.charAt(0) || p == PGNParser.KNIGHT.charAt(0)
            || p == PGNParser.BISHOP.charAt(0) || p == PGNParser.ROOK.charAt(0)
            || p == PGNParser.QUEEN.charAt(0) || p == PGNParser.KING.charAt(0))
            && ((a >= 'a' && a <= 'h') && (b >= '1' && b <= '8'));
  }