Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "Peter H. Coffin" Newsgroups: comp.lang.php Subject: Re: preg_match() oddities and question Date: Tue, 22 Nov 2011 17:20:28 -0600 Organization: A noiseless patient Spider Lines: 28 Message-ID: References: <1670168.aK4W3vaeNJ@PointedEars.de> <3004614.SPkdTlGXAF@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: mx04.eternal-september.org; posting-host="le/2G4+BNpieVhQI6uJ2Lw"; logging-data="8761"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/PfrJFbxU2+FX2lUCsTNYR" User-Agent: slrn/0.9.9p1 (OpenBSD) Cancel-Lock: sha1:sOUFhZ8tqNZmHVZT+/zp0wJ71Fg= Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:3878 On Tue, 22 Nov 2011 17:30:45 +0000, The Natural Philosopher wrote: > Quite right. Is worse than you can possibly iagine at leats here in te > UK, where addresses can be as little as 2 lines long or up to 6.. > > So > > 10 Wonkers place, LONDON EC3 7QY is a typical TOWN address > > Out in the sticks you might get > > Apartment 4b, the Old Town House, Shire Lane, Recketts Green, Nr > Stonehouse, Gloucestershire GL13 6AH > > > And if that comes at you without commas, god help you. > > I have spent DAYS taking name/address fields and parsing them *manually* > into structured tables... It is at this point that most people that have an actual need to solve these kinds of problems turn to the available commercial software and decide to solve it with money instead of manpower. -- They got rid of it because they judged it more trouble than it was worth. (And considering they'd gone to great lengths to minimize its worth, I suppose they were right.) -- J. D. Baldwin