Question
December 15, 2008 at 12:50 PM
andrewchristiandc

Need help learning libpcre

by andrewchristiandc . Updated 17 years, 9 months ago

Hey gang,

I’m trying to learn to use libpcre with standard c programming. I’m sure a statement like that is likely to beg a lot of counter-suggestions about what language/platform I should be using for my project but please accept this:

the boss is making me do it this way.

That being said, I’m a passable c programmer, I just don’t have a lot of experience with libpcre. Most of the docs I’ve found spend a lot of time dealing with the syntax of regular expressions, but the truth is that I already understand pcre from using perl.

What I need to learn is the syntax of pcre as it applies to c programming. I’ve found a lot of specifications but no good, short practical snippets of working code that I can mod into my project.

If I can’t locate one in the next couple of days then I’m going to be stuck trying to convince the boss that I need to tackle the project in some other way, which is much more complicated than just doing what he wants in the first place.

Any help??

This discussion is locked

All Comments