in reply to Regex problems using '|'
foreach my $vulnerabilityText (@records) { $vulnerabilityText =~ m/(Remediation Report|.+)/; my $vulnerabilityName = $1; print($vulnerabilityName, "\n"); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex problems using '|'
by romandas (Pilgrim) on Jul 22, 2008 at 09:18 UTC | |
by pjotrik (Friar) on Jul 22, 2008 at 09:48 UTC |