... caveat ... is to remember to use the /s modifier if the text you are extracting might contain \n.
Simpler still is to always use /s (along with /x and /m in a consistent /xms modifier tail) on every qr// m// s/// you write. Then the rule is simply "Dot matches all." Period.
Give a man a fish: <%-{-{-{-<
In reply to Re^4: How to extract a pattern in Perl regex?
by AnomalousMonk
in thread How to extract a pattern in Perl regex?
by SergioQ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |