in reply to a small regexp question
From that, you can reconstruct a string from it, in whatever way you like. Like, using the default value for $", returns what you seem to want:my @all = $string =~ /[^_]+/g;
my $result = "@all";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: a small regexp question
by blazar (Canon) on Jul 29, 2005 at 10:29 UTC |