🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.mule
Article #235

how to replace aa_bcd with aaBcd

#235
From: SHIIBA Michiharu
Date: Sat, 22 Jun 2002 10:14
27 lines
1465 bytes
$BDGMU$H8@$$$^$9!#(B

query-replace-regexp $B$K4X$9$k<ALd$G$9!#(B

(defun foo ()
  (interactive)
  (query-replace-regexp "\\(\\w\\)_\\(\\w\\)" "\\1\\2")))

$B$N$h$&$J4X?t$rMQ0U$7$F<B9T$9$k$3$H$K$h$j!"%P%C%U%!Fb$K$"$k(B

  aa_bcd, foo_bar

$B$N$h$&$JJ8;zNs$r(B

  aabcd, foobar

$B$K$G$-$^$9$,!"F1;~$K(B _ $B$N8e$N(B1$BJ8;z$rBgJ8;z$KJQ49$7$F(B

  aaBcd, fooBar

$B$N$h$&$K$J$k$h$&$K$9$k$K$O!"@h$N4X?t(B foo $B$r$I$N$h$&$K=q$-JQ$($l$P(B
$B$h$$$G$7$g$&$+!#(B

$B$h$m$7$/$*4j$$$7$^$9!#(B  

-- 
$BDGMU(B $B=<@2(B (Michiharu CBAR)
Technical Details
Message-ID: <x5u1nvy616.fsf@civilnet.kuciv.kyoto-u.ac.jp>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!news.media.kyoto-u.ac.jp!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 10eba4,8ddef165b089fd8e,start
X-Google-Attributes: gid10eba4,public
X-Google-ArrivalTime: 2002-06-22 02:54:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!news.media.kyoto-u.ac.jp!not-for-mail
From: SHIIBA Michiharu <shiiba@civilnet.kuciv.kyoto-u.ac.jp>
Newsgroups: fj.editor.mule
Subject: how to replace aa_bcd with aaBcd
Date: 22 Jun 2002 19:14:13 +0900
Organization: Public NNTP Service, Kyoto University, JAPAN
Lines: 27
Message-ID: <x5u1nvy616.fsf@civilnet.kuciv.kyoto-u.ac.jp>
NNTP-Posting-Host: wr.kuciv.kyoto-u.ac.jp
X-Trace: ginger.media.kyoto-u.ac.jp 1024739644 24215 130.54.249.158 (22 Jun 2002 09:54:04 GMT)
X-Complaints-To: usenet@news.media.kyoto-u.ac.jp
NNTP-Posting-Date: 22 Jun 2002 09:54:04 GMT
X-Newsreader: Gnus v5.3/Emacs 19.34