Optimized method checkLineWithHelpWrongSequence in the class QNameParser