in reply to Re: Specific Regex with Multilines (/s and /m): Why Doesn't This Work?
in thread Specific Regex with Multilines (/s and /m): Why Doesn't This Work?

Ah, the undef $/; is what I was missing on the multiline search. The problem now is that I need to return it to it's default behavior in order to perform the rest of my regular expressions properly. I find it frustrating that Google won't allow me to search for "$/". Thank you jethro (et al).

  • Comment on Re^2: Specific Regex with Multilines (/s and /m): Why Doesn't This Work?
  • Download Code

Replies are listed 'Best First'.
Re^3: Specific Regex with Multilines (/s and /m): Why Doesn't This Work?
by chromatic (Archbishop) on Jul 19, 2011 at 16:18 UTC

    local $/; within the appropriate scope is almost always more useful than undef $/;.