Correct Regex Wrong Result

veeco

Client
Регистрация
27.05.2011
Сообщения
112
Благодарностей
1
Баллы
18
Hello,
i also scrape a page that has this kind of
<a href="#data/10">data0</a>
<a href="#data/20">data20</a>
<a href="#data/30">data30</a>
<a href="#data/40">data40</a>
<a href="#data/50">data50</a>
<a href="#data/{{id}}">{{template.id}}</a>

the regex i use is:
(?<=a\ href="\#data/)[0-9]*?(?=")

No problem on regex designer
but when i print the list to a file. the data {{id}} get included.

Any idea why ?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Not possible i guess.
Please attach sample template.
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
682
Баллы
113

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)