|
Posted by Damo on 03/01/07 22:07
>
> First, do you really need the whitespace around (.+)?
Does the presence/absence of whitespace make a difference... As I said
I'm new to regex
> Second,$document must be a string, not a handle on the file.
$document is a handle on a URL taht I was reading in , so ye it was
just a string
> Third, your regular expression as written is greedy; is this intentional?
There was no ? at the end of my regular expression it was just (.+)
> Cheers,
> NC
I got it working since, Thanks for all you help.
cheers
Navigation:
[Reply to this message]
|