Sha256: a4666251415de66b119b070217fe55dfdd2624e3aed6f838a9a8eab6ee52e5a0

Contents?: true

Size: 355 Bytes

Versions: 29

Compression:

Stored size: 355 Bytes

Contents

module Regexp::Syntax
  module Token

    module Anchor
      Basic       = [:bol, :eol]
      Extended    = Basic + [:word_boundary, :nonword_boundary]
      String      = [:bos, :eos, :eos_ob_eol]
      MatchStart  = [:match_start]

      All = Extended + String + MatchStart
      Type = :anchor
    end

    Map[Anchor::Type] = Anchor::All

  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
regexp_parser-1.2.0 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-1.1.0 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-1.0.0 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.5.0 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.13 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.12 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.11 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.10 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.9 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.8 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.7 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.6 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.5 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.4 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.3 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.2 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.1 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.4.0 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.3.6 lib/regexp_parser/syntax/tokens/anchor.rb
regexp_parser-0.3.5 lib/regexp_parser/syntax/tokens/anchor.rb