-
posix regex
Hi!
C posix regex library has a matching system, but how to use it.
If I execute pattern: \".+\" against string: <a href="http://localhost/#" style="color: black"> and set PMATCH[] non-null, how could find out the start and end positions of substring "http://localhost/#" also "color: black" in string. Or is there any easier way to parse html-lines in C. Example code please!
Edit: There was a bug in the pattern
-
What do you get when you run that. I am not good at regular expressions though here but here is a tutorial
-
Actually I'm just interested in how the registers work in posix regex.