Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Quick Regex Question



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.

Have a nice day,
-- 
Martijn van Oosterhout   <kleptog(at)svana(dot)org>   http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
>  -- John F Kennedy

Attachment: signature.asc
Description: Digital signature



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group