Re: PostgreSQL Top 10 Wishlist

From: Chris Browne <cbbrowne(at)acm(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL Top 10 Wishlist
Date: 2006-01-17 23:51:29
Message-ID: 60u0c2ct1a.fsf@dba2.int.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

jnasby(at)pervasive(dot)com ("Jim C. Nasby") writes:
> On Tue, Jan 17, 2006 at 11:35:05AM -0500, Chris Browne wrote:
>> Note: I spent most of yesterday dealing with this very issue,
>> writing up a total of 31 eye-destroying regular expressions to
>> generate a pl/tcl function to parse cases that I had handy... I
>> daresay that even with so many regexps, I was _still_ left with a
>> reasonably material number that would not be parsed...
>
> I hope you can post that somewhere for others to use... surely it could
> save a lot of people some time...
>
> Or maybe not; I suspect most people just punt on phone numbers, or force
> them to a very strict format.

The trouble is, the rules wind up being all too context-sensitive.

The problems I run into with telnos coming from one source differ from
the problems with telnos coming from another.

I suppose perhaps I should "collect the whole set" and see if I can
have some common heuristics that will cope well with all of them...

Alas, it's pretty gory, and there's never time :-(.
--
output = reverse("gro.gultn" "@" "enworbbc")
http://cbbrowne.com/info/wp.html
Oh, boy, virtual memory! Now I'm gonna make myself a really *big*
RAMdisk!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Glaesemann 2006-01-18 00:17:37 Re: mac os x compile failure
Previous Message Jim C. Nasby 2006-01-17 23:14:41 Re: PostgreSQL Top 10 Wishlist