in reply to Parsing a sentence based on array list
Could use some cleanup of the empty returns.$ perl -E 'my $line ="Lorem ipsum dolor sit amet, consectetur adipisic +ing elit."; my @array = ("ipsum", "sit amet", "elit"); my $re=join "| +",@array; $r=qr{$re}; say for $line=~/(.*?)$r(.*?)/g' Lorem dolor , consectetur adipisicing
My goal ... to kill off the slow brain cells that are holding me back from synergizing my knowledge of vertically integrated mobile platforms in local cloud-based content management system datafication.
|
|---|