Re: [GENERAL] Regex problems

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] Regex problems
Дата
Msg-id 199810070246.WAA07583@candle.pha.pa.us
обсуждение исходный текст
Ответ на [GENERAL] Regex problems  (Charles Curley <charles.h.curley@lmco.com>)
Список pgsql-general
> select "dept", "last", "first" from "employees" where "last" ~ 'C*';

You want:

> select "dept", "last", "first" from "employees" where "last" ~ '^C';

or

> select "dept", "last", "first" from "employees" where "last" ~ '^C.*';

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] status on IPv6 implementation...
Следующее
От: Tom Ivar Helbekkmo
Дата:
Сообщение: Re: [GENERAL] status on IPv6 implementation...