PL/PGSQL Regexe

Поиск
Список
Период
Сортировка
От rdear
Тема PL/PGSQL Regexe
Дата
Msg-id 3BA619A2.6090402@dev.internal
обсуждение исходный текст
Ответы Re: PL/PGSQL Regexe  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
I'm doing a check within a PL/PGSQL function using a regular expression 
and I get the error:

ERROR:  regcomp failed with error invalid character range

This appears to be because of the underscore "_" character. The regex I 
want to use is ''[A-Za-z0-9_]'' but this doesn't work. Any suggestions 
or is this a bug/feature?




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

Предыдущее
От: Carl van Tast
Дата:
Сообщение: Re: group by weirdness
Следующее
От: Miguel González
Дата:
Сообщение: Re: Registring a C function in PostgreSQL