in reply to Re: Zipcode Regex Help
in thread Zipcode Regex Help
andmy $zip_match = () = $card_zip =~ /(12345)\-?(6789)?/g;
Both Returned 0 on no match and 2 otherwise, even if only the first 5 digits match.$_ = $card_zip; my $zip_match = () = /(12345)\-?(6789)?/g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Zipcode Regex Help
by PodMaster (Abbot) on Jun 25, 2003 at 21:50 UTC | |
by tcf22 (Priest) on Jun 25, 2003 at 21:57 UTC |