I'm attempting to take an ldiff file and flip first/last name order.
However I can not figure out how to match hyphenated last names. In
vim, my current search/replace string is:
%s/cn=\(\w\+\-*\) \(\w\+\),/cn=\2 \1,/gc
This will match:
and replace it with:
But it will not match:
nor replace it with:
I've tried various incantations of escaping and quantifying yet I can
not figure out how to do what I want.
Please show me my error.
Be a Great Magician!
Visit The Alchemist's Warehouse
email@example.com mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"