yylex_string (RubyLexer)

    # File lib/ruby_lexer.rb, line 1314
      def yylex_string # 23 lines
        token = if lex_strterm[0] == :heredoc then
                  self.heredoc lex_strterm
                else
                  self.parse_string lex_strterm
                end

        if token == :tSTRING_END || token == :tREGEXP_END then
          self.lineno      = nil
          self.lex_strterm = nil
          self.lex_state   = :expr_end
        end

        return token
      end