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
Ce message fait partie du fil suivant :
Arborescence complète du fil triée par date
Meir Yanovich à
2008-09-21 05:43
Meir Yanovich à
2008-09-22 20:28
Auteur:
Philip Hazel
Date:
2008-09-22 11:17
UTC
À:
Meir Yanovich
CC:
pcre-dev
Sujet:
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