Method: Regexp::MatchLength#include?
- Defined in:
- lib/regexp_parser/expression/methods/match_length.rb
#include?(length) ⇒ Boolean
40 41 42 |
# File 'lib/regexp_parser/expression/methods/match_length.rb', line 40 def include?(length) test_regexp.match?('X' * length) end |