Личный кабинет
Укажите e-mail, на который будет выслан код восстановления пароля.
На указанный вами адрес e-mail был выслан код подтверждения аккаунта. Введите полученный код для продолжения:
Введите новый пароль два раза:
On 13 December 2011 14:04, InterRob <rob.marjot@gmail.com> wrote: Dear List,I found this interesting:SELECT regexp_matches('123-A' , E'(3[A-Z\- ])');ERROR: invalid regular expression: invalid character rangewhereas:SELECT regexp_matches('123-A' , E'(3[\- A-Z])'); regexp_matches---------------- {3-}(1 row)Notice the order of (escaped) characters and ranges in the last bit of the expression.Am I missing some key concept of the regular expression?Regards,RobHi Rob, try '\\-' instead of '\-'and it works :)regardsSzymon
Dear List,I found this interesting:SELECT regexp_matches('123-A' , E'(3[A-Z\- ])');ERROR: invalid regular expression: invalid character rangewhereas:SELECT regexp_matches('123-A' , E'(3[\- A-Z])'); regexp_matches---------------- {3-}(1 row)Notice the order of (escaped) characters and ranges in the last bit of the expression.Am I missing some key concept of the regular expression?Regards,Rob
В списке pgsql-general по дате отправления: