On Wed, Jul 14, 2010 at 01:27:13PM +1000, Peter Rundle wrote: > I don't really understand how the [^&] followed by the * works but it does.
"any character which is not an ampersand" repeated zero or more times. So it matches () ()& (a) (a)& (aaa...) (aaa...)& Where the stuff inside () is what's being matched. The matched part stops at the first & or the end of the string. It's greedy so it matches as long a string as possible. Nick. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
