$ behaves like (?=\z|\n)No, it behaves like (?=\n?\z). Yours would match any embedded newline.
-- Randal L. Schwartz, Perl hacker
In reply to •Re: Re: String Newline Question
by merlyn
in thread String Newline Question
by insensate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |