On Sep 20, 2006, at 3:31 PM, Maarten Sneep wrote:
How can I prepare a grep pattern for the sort command that does
this? I need the last word (without spaces), before the first tab.
I think that covers most names, in Dutch at least, although some
French names (d'Hondt) will be sorted in the wrong place.
Any suggestions?
For the searching pattern, something like this should work:
^.*(\S+)\t
For the Sort Using setting, "All sub-patterns" is appropriate.
Jim
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>