On Fri, 09-Feb-2007 at 08:18:40 -0500 Jack Hodgson wrote:
> I have a file filled with lines of text. I need a grep pattern
> which will match from the start of the line, to the first
> uppercase letter which is followed by a lowercase letter.
Here's an internationally friendly version which properly accounts
for accented characters and umlauts:
^(.*?)(?=[[:upper:]][[:lower:]])
This search pattern will require that case sensitive is turned on.
Matthias
_____________________________________
Matthias Steffens [EMAIL PROTECTED]
http://www.extracts.de
--
------------------------------------------------------------------
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]>