in reply to adding ";" to void elements
#!/usr/bin/perl use strict; use warnings; map { print if s/\A (\w;\d) (?!;\d) / $1; /xms } <DATA>; __DATA__ a;3 b;2;3 c;5;4 d;6
hth,Output : a;3; d;6;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: adding ";" to void elements
by chromatic (Archbishop) on Feb 12, 2008 at 19:08 UTC | |
by ikegami (Patriarch) on Feb 12, 2008 at 21:00 UTC |