http://qs321.pair.com?node_id=570835


in reply to Re: search hang trouble
in thread search hang trouble

search options:
c Do not reset search pos on a failed match when /g is in effect. g Match globally, i.e., find all occurrences. i Do case-insensitive pattern matching. m Treat string as multiple lines. o Compile pattern only once. s Treat string as single line. x Use extended regular expressions.