开发者

Needed C++ HTML parser + regular expression support

开发者 https://www.devze.com 2023-01-19 17:13 出处:网络
I\'m working on a C++ project and I need to find an external library which provides HTML parser and regular expression support.

I'm working on a C++ project and I need to find an external library which provides HTML parser and regular expression support.

The project is under 2 OS - iOS & Android.

I was thinking using libxml2 which has a HTML parser module and xml regular expression.

Can I use the xml regular expression module on HTML page?

I开发者_如何学Gon addition, I need some basic html function support in C++. Like those 2 PHP functions: rawurlencode & urlencode.

I'm open to different libraries.

Thanks


I've never used libxml2 to parse html, but I remember that it was easy to use for xml parsing, so probably it's worth a try.

For the regular expressions, instead, I would suggest you to use Boost Regex.

0

精彩评论

暂无评论...
验证码 换一张
取 消