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
This message is part of the following thread:
the complete thread tree sorted by date
Meir Yanovich at
2008-09-21 05:43
Meir Yanovich at
2008-09-22 20:28
Author:
Philip Hazel
Date:
2008-09-22 11:17
UTC
To:
Meir Yanovich
CC:
pcre-dev
Subject:
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