|
From: Bo I. <bos...@ho...> - 2013-09-08 08:04:38
|
Hi!
You probably had the "Whole word" checkbox checked in the Search And Replace
dialog. Uncheck it and your regex should work.
/Bosse
-----Ursprungligt meddelande-----
Från: e-letter [mailto:in...@gm...]
Skickat: den 7 september 2013 21:34
Till: jed...@li...
Ämne: [ jEdit-users ] regular expression to change first character
Readers,
For a buffer of text:
abc
def
ghi
The objective is to change to:
Abc
Def
Ghi
The attempted regular expression:
^\w{1}
selected the first word. How to edit the regular expression to select the
first character only then change only the first character to upper case?
Thanks in advance.
--
jedit431
----------------------------------------------------------------------------
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
--
-----------------------------------------------
jEdit Users' List
jEd...@li...
https://lists.sourceforge.net/lists/listinfo/jedit-users
|