in reply to Re: Re: how do I check for this rulein thread how do I check for this rule
$str !~ /XXX(?!\s*\n+YYY)/; [download]
Abigail