09-13-2010, 12:20 PM
I see these errors:
1. " not escaped in pattern string.
2. Space before function name and (.
Macro Macro1438
3. The regular expression may not work. Not sure.
1. " not escaped in pattern string.
2. Space before function name and (.
Macro Macro1438
str html
IntGetFile("http://www.youtube.com/results?search_query=handy&suggested_categories=28%2C24%2C1%2C23%2C26&page=2" html)
str videofromuser
str pattern="<a id=''video-from-username(.*)>.*<\/\1>"
ARRAY(str) a
findrx(html pattern 0 4 a)
int i
for(i 0 a.len)
,out "submatch=%s, whole=%s" a[1 i] a[0 i]3. The regular expression may not work. Not sure.
