From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Davis Herring Newsgroups: gmane.emacs.devel Subject: Re: Raw strings (experimental patches inside) Date: Fri, 10 Aug 2012 17:03:53 -0600 Organization: XCP-1 Message-ID: <50259359.3000201@lanl.gov> References: <651F6603-F798-4381-929E-7D86A28DBC4D@gmail.com> <502464D6.4000103@gmail.com> <87wr1749m0.fsf@uwakimon.sk.tsukuba.ac.jp> <502578E9.1020407@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344639847 6669 80.91.229.3 (10 Aug 2012 23:04:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2012 23:04:07 +0000 (UTC) Cc: Emacs development discussions To: Vr Rm Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 11 01:04:06 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SzyFQ-0000Sa-RM for ged-emacs-devel@m.gmane.org; Sat, 11 Aug 2012 01:04:04 +0200 Original-Received: from localhost ([::1]:50349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzyFP-00066F-Tf for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2012 19:04:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzyFL-000668-Pa for emacs-devel@gnu.org; Fri, 10 Aug 2012 19:04:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzyFJ-0005rL-SJ for emacs-devel@gnu.org; Fri, 10 Aug 2012 19:03:59 -0400 Original-Received: from proofpoint5.lanl.gov ([204.121.3.53]:49693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzyFJ-0005qz-IQ for emacs-devel@gnu.org; Fri, 10 Aug 2012 19:03:57 -0400 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by proofpoint5.lanl.gov (8.14.4/8.14.4) with ESMTP id q7AN3rME013936; Fri, 10 Aug 2012 17:03:53 -0600 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id E09FE19BBC00; Fri, 10 Aug 2012 17:03:53 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from [128.165.123.145] (xray-r10.lanl.gov [128.165.123.145]) by mailrelay2.lanl.gov (Postfix) with ESMTP id CA8DB19BB9CD; Fri, 10 Aug 2012 17:03:53 -0600 (MDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110717 Lanikai/3.1.11 In-Reply-To: <502578E9.1020407@gmail.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855, 1.0.260, 0.0.0000 definitions=2012-08-10_06:2012-08-10, 2012-08-10, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 204.121.3.53 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152425 Archived-At: > /.*\)$/ This would work in Perl (among other places); in Emacs you just drop the \. That is, type C-M-s ) $ (You needn't include the .* unless you want to match the whole line.) In Elisp, type ")$" as the regexp. (No //.) > /^[^\t]+\t/ Keyboard: C-M-s ^ [ ^ TAB ] + TAB Elisp: "^[^\t]+\t" (exactly what you wrote, without the // delimiters. Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.