Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Link in Web Browser
#4
I see these errors:

1. " not escaped in pattern string.
2. Space before function name and (.

Macro Macro1438
Code:
Copy      Help
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)