[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regex
Hi,
here's my take (works with all your examples):
s/^([NSEW]+?)\1+$/$1/; # (perl syntax)
Bill
billn@videotron.ca
- Follow-Ups:
- Re: regex
- From: Brett Glass <brett@lariat.org>