T. B. Booher wrote at Mon, 08 Jul 2002 13:53:36 +0200:
> Why do you have *? in "(.*?) # store non-greedy match in $1" ?
>
> It seems like you would just need (.*) . . . what am I missing?
>
There's a difference looking to the texts
asdjsafdl { ansfnkndsf } ekdsngjnfg { fdksjfsf }
In the non greed *? case,
the { ansfnkndsf } is matched,
in the greedy case
{ ansfnkndsf } ekdsngjnfg { fdksjfsf } is matched.
Greetings,
Janek
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]