Anyone have any idea why this won't give me back anything?
findNoCase("flashvars.ID = ''",result.FileContent)
I know that flashvars.ID = ''
is in the result, as I dump it out and can see it. When I do just...
findNoCase("flashvars.ID",result.FileContent)
It finds it! I could probably d开发者_如何学Co a bunch of crap with len()
mid()
etc. to find out if the value of flashvars.ID
is empty, but I just want to know why the first findNoCase
doesn't work!
Probably a whitespace issue. Give this a shot:
#refindNoCase("flashvars\.ID\s*.=\s*.''",content)#
精彩评论