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