Sha256: 95705c3b6f8861598e60718bf000e621664eff63513c497a807da5ba4b67ba75

Contents?: true

Size: 349 Bytes

Versions: 139

Compression:

Stored size: 349 Bytes

Contents

module Regexp::Syntax
  module Token
    module Anchor
      Basic       = %i[bol eol]
      Extended    = Basic + %i[word_boundary nonword_boundary]
      String      = %i[bos eos eos_ob_eol]
      MatchStart  = %i[match_start]

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

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

Version data entries

139 entries across 134 versions & 23 rubygems

Version Path
regexp_parser-2.8.0 lib/regexp_parser/syntax/token/anchor.rb
call_your_name-0.1.0 vendor/bundle/ruby/3.1.0/gems/regexp_parser-2.7.0/lib/regexp_parser/syntax/token/anchor.rb
zilla-0.2.0 vendor/bundle/ruby/3.2.0/gems/regexp_parser-2.7.0/lib/regexp_parser/syntax/token/anchor.rb
regexp_parser-2.7.0 lib/regexp_parser/syntax/token/anchor.rb
regexp_parser-2.6.2 lib/regexp_parser/syntax/token/anchor.rb
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/regexp_parser-2.5.0/lib/regexp_parser/syntax/token/anchor.rb
regexp_parser-2.6.1 lib/regexp_parser/syntax/token/anchor.rb
regexp_parser-2.6.0 lib/regexp_parser/syntax/token/anchor.rb
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/regexp_parser-2.5.0/lib/regexp_parser/syntax/token/anchor.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/regexp_parser-2.5.0/lib/regexp_parser/syntax/token/anchor.rb
regexp_parser-2.5.0 lib/regexp_parser/syntax/token/anchor.rb
regexp_parser-2.4.0 lib/regexp_parser/syntax/token/anchor.rb
regexp_parser-2.3.1 lib/regexp_parser/syntax/token/anchor.rb
regexp_parser-2.3.0 lib/regexp_parser/syntax/token/anchor.rb
op_connect-0.1.2 vendor/bundle/ruby/3.1.0/gems/regexp_parser-2.2.1/lib/regexp_parser/syntax/token/anchor.rb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/regexp_parser-2.2.1/lib/regexp_parser/syntax/token/anchor.rb
regexp_parser-2.2.1 lib/regexp_parser/syntax/token/anchor.rb
phillipug-foodie-0.1.0 .vendor/ruby/3.0.0/gems/regexp_parser-2.2.0/lib/regexp_parser/syntax/token/anchor.rb
regexp_parser-2.2.0 lib/regexp_parser/syntax/token/anchor.rb