Обсуждение: Word boundaries in regular expressions

Поиск
Список
Период
Сортировка

Word boundaries in regular expressions

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


--
Troy Rasiah




Re: Word boundaries in regular expressions

От
Thomas Pundt
Дата:
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