Thank you very much, everyone who replied!
Taking all the replies together I think that confirms that the set of strings matched is the same for all three of these particular regexes.
This also confirms my initial suspicion that the regex m{<ReportHost[^>]*>(?:(?!</ReportHost>).)*</ReportHost>}s could also be written as m{<ReportHost[^>]*>.*?</ReportHost>}s.
Regards,
-- Hauke D
In reply to Re: Difference between these regexes
by haukex
in thread Difference between these regexes
by haukex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |