On Mon, 20 Oct 2003, Hannu E K Nevalainen wrote: > [snip] > HOW do I achieve that? ( \s = any ws, \S = any non ws ) > > Obviously \(.*\) grabs/includes the last space. My brain has stoppped > working, so right now I can't work around that :-I
Reversed character lists, e.g. '[^ ]', should work portably. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/