Use the /s modifier to make . match \n. See perlop for a full description.
update: perlre contains the full description of the /imsx modifiers.
--In reply to Re: How do you match for everything including newline
by fruiture
in thread How do you match for everything including newline
by kirk123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |