| От | srn@coolheads.com |
|---|---|
| Тема | [DOCS] can't be both non-capturing and still capture |
| Дата | |
| Msg-id | 20170703204755.27952.9007@wrigleys.postgresql.org обсуждение исходный текст |
| Ответы |
Re: [DOCS] can't be both non-capturing and still capture
|
| Список | pgsql-docs |
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/9.6/static/index.html Description: In postgresql-doc-9.5/html/functions-matching.html#POSIX-MATCHING-RULES: <PRE CLASS="SCREEN" >SELECT regexp_matches('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}'); <I CLASS="LINEANNOTATION" >Result: </I ><SAMP CLASS="COMPUTEROUTPUT" >{abc,01234,xyz}</SAMP ></PRE > Here, the whole regexp is non-capturing, right, so how can the result be reported as shown? The previous two warmup examples do not have the surrounding non-capturing-group markup. Looks to me like that markup should not appear here, either.
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера