in reply to Re: Can anyone make this regex job neater?
in thread Can anyone make this regex job neater?
And no, I didn't read yours first :)s#^(OBX(?:.*?\|){2})([^^]+)#$1.join'',map{/[A-Z]/?"U$_":/[a-z]/?"L$_": +$_}split'',$2#e;
cLive ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Can anyone make this regex job neater?
by Skeeve (Parson) on Oct 11, 2005 at 21:54 UTC |