...

View Full Version : Resolved parsing help



cosmicsea
01-31-2010, 11:53 PM
im trying to use this code right here to crawl for some links

/example\.com\/(.*)/
but the problem is it is leaving out the "/" after .com. lets say the link format for example is example.com/435345/details.html

the code works fine and will grab that link but it grabs it as example.com435345/details.html
so what am i missing or doing wrong to make the "/" not be there?
can anyone help with this? Thanks


----------------
nevermind i fixed it. the proper way was. /example\.com(\/.*)/

masterofollies
01-31-2010, 11:57 PM
I am wondering if the slash needs to be escaped...

MattF
02-01-2010, 12:01 AM
the code works fine

Obviously it doesn't work fine.


so what am i missing or doing wrong

Giving us the faintest idea what your code looks like?

cosmicsea
02-01-2010, 12:02 AM
I am wondering if the slash needs to be escaped...

for some reason it did not post my format correctly. you can see it is correct on a quote and reply. I do have the slash escaped.
/example\.com\/(.*)/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum