Feb 5, 2001, 10:31 AM
Post #2 of 2
It sounds like you want to use .*? instead of .*. This isn't specifically the shortest match possible, it's the left-most shortest match possible.
Re: Simple question about [^\]]*
[In reply to]
Jeff "japhy" Pinyan -- accomplished hacker, teacher, lecturer, and author