[re2c-general] problem to match simple url

2014-11-25 Thread antonio cooler
Hello sirs, i need some help... i am confuse when i use re2c... i want parse simple url of this buffer: sdfsdfsdfsdf a href='/page/site.jsp' sdfsdfsdfsdfsdf\a to extract path, look this: --- #include stdio.h #include stdlib.h enum { PATH, END }; int scan(char** p, char** lex) { char*

Re: [re2c-general] problem to match simple url

2014-11-28 Thread antonio cooler
SIr, thanks very much... very cool, i understand, you explain very well... This solution fix my problem... cheers 2014-11-28 8:45 GMT-02:00 Ulya Fokanova skvad...@gmail.com: Sorry for a late reply! Your letter somehow got to spam, so I overlooked it. There are some errors in your