# File lib/active_ldap/ldif.rb, line 503 def check(regexp) @sub_scanner = next_segment if @sub_scanner.eos? @sub_scanner.check(regexp) end