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
Questo messaggio è parte di questo thread:
il thread completo ordinato per data
Meir Yanovich at
2008-09-21 05:43
Meir Yanovich at
2008-09-22 20:28
Autore:
Philip Hazel
Data:
2008-09-22 11:17
UTC
To:
Meir Yanovich
CC:
pcre-dev
Oggetto:
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