Sha256: 0894ce65dc0b84040d7ed556e659ce5228b026f8f3acc06eac71fc64bc2c7a7e

Contents?: true

Size: 528 Bytes

Versions: 75

Compression:

Stored size: 528 Bytes

Contents

# -*- coding: utf-8 -*-
#
#--
# Copyright (C) 2009-2016 Thomas Leitner <t_leitner@gmx.at>
#
# This file is part of kramdown which is licensed under the MIT.
#++
#

module Kramdown
  module Parser
    class Kramdown

      ESCAPED_CHARS = /\\([\\.*_+`<>()\[\]{}#!:|"'\$=-])/

      # Parse the backslash-escaped character at the current location.
      def parse_escaped_chars
        @src.pos += @src.matched_size
        add_text(@src[1])
      end
      define_parser(:escaped_chars, ESCAPED_CHARS, '\\\\')

    end
  end
end

Version data entries

75 entries across 72 versions & 18 rubygems

Version Path
logstash-output-scalyr-0.1.9 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-output-scalyr-0.1.8 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-output-scalyr-0.1.6 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-output-newrelic-1.2.0 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/kramdown-1.13.2/lib/kramdown/parser/kramdown/escaped_chars.rb
motion-kramdown-1.16.2 lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-output-scalyr-0.1.5 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-output-scalyr-0.1.4 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-output-scalyr-0.1.3 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/kramdown-1.17.0/lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-output-scalyr-0.1.2 vendor/bundle/jruby/2.5.0/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
logstash-filter-device_detection-1.0.7-java vendor/bundle/jruby/1.9/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
mrcooper-logstash-output-azuresearch-0.2.2 vendor/jruby/2.5.0/gems/kramdown-1.14.0/lib/kramdown/parser/kramdown/escaped_chars.rb
kramdown-1.17.0 lib/kramdown/parser/kramdown/escaped_chars.rb
kramdown-1.16.2 lib/kramdown/parser/kramdown/escaped_chars.rb
kramdown-1.16.1 lib/kramdown/parser/kramdown/escaped_chars.rb