| От | Tom Lane |
|---|---|
| Тема | Re: greedy or not? regexps... |
| Дата | |
| Msg-id | 17574.1172241995@sss.pgh.pa.us обсуждение |
| Ответ на | greedy or not? regexps... ("Anton Melser" <melser.anton@gmail.com>) |
| Ответы |
Re: greedy or not? regexps...
|
| Список | pgsql-general |
"Anton Melser" <melser.anton@gmail.com> writes:
> I am trying to understand the function substring.
You haven't actually said anything that sounded surprising; and in any
case, without seeing the data being operated on, we can't comment much
on what's happening. I will note that '=([0-9]*)' is going to match
to the *first* "=" in the string, whether there happen to be any digits
after it or not, because the *-construct can match zero characters.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера