http://www.perlmonks.org?node_id=11103991


in reply to Re: matching first paragraph satisfying condition
in thread matching first paragraph satisfying condition

s/(?:foo|bar)/baz/;
(non-capturing group)


The way forward always starts with a minimal test.