Re: Word boundaries in regular expressions

From: Thomas Pundt <mlists(at)rp-online(dot)de>
To: Troy Rasiah <troyr(at)vicnet(dot)net(dot)au>, pgsql-general(at)postgresql(dot)org
Subject: Re: Word boundaries in regular expressions
Date: 2008-04-05 07:52:11
Message-ID: 47F72FAB.2060804@rp-online.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Troy Rasiah schrieb:
>
> Apologies if this has been posted somewhere else but what is the
> equivalent of perl's \b in postgres regular expressions ?

I think you are looking for \m and \M.

See
http://www.postgresql.org/docs/8.3/interactive/functions-matching.html#FUNCTIONS-POSIX-REGEXP

Ciao,
Thomas

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2008-04-05 08:05:11 Re: pl/pgsql RECORD data type, how to access to the values
Previous Message Guillaume Bog 2008-04-05 07:39:47 pl/pgsql RECORD data type, how to access to the values