On May 23, Timothy Kimball said:

>2. Use the "s" modifier to treat the slurped-up file as a single string.

The /s modifier changes the meaning of . only, and not ^ or $ -- see my
response.

See chapter 5 of LPRE:

  http://www.pobox.com/~japhy/docs/LPRE.html#5.%20more%20pattern%20modifiers

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
Are you a Monk?  http://www.perlmonks.com/     http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc.     http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter.         Brother #734
** I need a publisher for my book "Learning Perl's Regular Expressions" **

Reply via email to