Re: Quick Regex Question

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Quick Regex Question
Date: 2007-12-20 11:16:23
Message-ID: 20071220111621.GI29885@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

am Thu, dem 20.12.2007, um 12:03:57 +0100 mailte Martijn van Oosterhout folgendes:
> On Thu, Dec 20, 2007 at 11:51:34AM +0100, A. Kretschmer wrote:
> > am Thu, dem 20.12.2007, um 10:36:08 +0000 mailte Howard Cole folgendes:
> > > Your expression works fine Richard, as does '(^| )ho', but can you tell
> > > me why '[ ^]ho' doesn't work?
> >
> > With ^ you means an anchor, but within the brackets it's a simple char.
>
> Err no, it inverts the test. [^ ] means any character *except* a space.

I know, but only if the ^ at the beginning, or no?

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Howard Cole 2007-12-20 11:18:10 Re: Quick Regex Question
Previous Message Marco Aurélio V. da Silva 2007-12-20 11:16:19 Re: Problem with collector statistic