in reply to Difference between these regexes
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Difference between these regexes
by duyet (Friar) on Jul 31, 2016 at 07:47 UTC |