Re: [pcre-dev] regexp does not work , but does work on other…
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Esta mensaxe é parte do seguinte fío:
Árbore completa do fío ordenada por data
Meir Yanovich o
2008-09-21 05:43
Meir Yanovich o
2008-09-22 20:28
Autor:
Philip Hazel
Data:
2008-09-22 11:17
UTC
Para:
Meir Yanovich
CC:
pcre-dev
Asunto:
Re: [pcre-dev] regexp does not work , but does work on others
On Sun, 21 Sep 2008, Meir Yanovich wrote:
> char *regex = "<a[^>]+href\s*=\s*[\"']?([^\"'> ]+)";
You have made an elementary mistake. Try
char *regex = "<a[^>]+href\\s*=\\s*[\"']?([^\"'> ]+)"; ^ ^ ^ ^ ^ ^ Philip
--
Philip Hazel