unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Regarding replacing regexp
@ 2012-05-10  9:37 shirish
  2012-05-10 16:26 ` Deniz Dogan
  2012-05-11  8:39 ` Peter Dyballa
  0 siblings, 2 replies; 8+ messages in thread
From: shirish @ 2012-05-10  9:37 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]

Hi,

I am in the process of learning how to use emacs. I know about the
replace-regexp but I am unable to create a regular expression to do the
below.
Any help is much appreciated.

public static final String SUCCESS //Successmesg
public static final String FAILURE  //failuremessage

I need to replace that with

public static final String SUCCESS = "SUCCESS";//Successmesg
public static final String FAILURE  = "FAILURE"; //failuremessage

Thanks,
Shirish.

[-- Attachment #2: Type: text/html, Size: 770 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-05-12 10:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-10  9:37 Regarding replacing regexp shirish
2012-05-10 16:26 ` Deniz Dogan
2012-05-11  2:57   ` XeCycle
     [not found]   ` <mailman.942.1336705240.855.help-gnu-emacs@gnu.org>
2012-05-11  3:10     ` Barry Margolin
2012-05-11  3:52       ` XeCycle
2012-05-12 10:39   ` shirish
2012-05-11  8:39 ` Peter Dyballa
2012-05-12 10:39   ` shirish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).