From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Zhu, Shenli" Newsgroups: gmane.emacs.help Subject: string to string matching Date: Tue, 20 Apr 2010 11:17:02 +0800 Message-ID: <4BCD1CAE.4010306@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1271733477 25645 80.91.229.12 (20 Apr 2010 03:17:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Apr 2010 03:17:57 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 20 05:17:51 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O43yA-0007m3-Uf for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Apr 2010 05:17:51 +0200 Original-Received: from localhost ([127.0.0.1]:52653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O43y9-0003S3-NJ for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Apr 2010 23:17:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O43xm-0003Rs-9y for help-gnu-emacs@gnu.org; Mon, 19 Apr 2010 23:17:26 -0400 Original-Received: from [140.186.70.92] (port=37838 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O43xk-0003Rf-8L for help-gnu-emacs@gnu.org; Mon, 19 Apr 2010 23:17:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O43xh-0007Fa-Jw for help-gnu-emacs@gnu.org; Mon, 19 Apr 2010 23:17:22 -0400 Original-Received: from mail-yx0-f203.google.com ([209.85.210.203]:45802) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O43xg-0007FU-Tn for help-gnu-emacs@gnu.org; Mon, 19 Apr 2010 23:17:21 -0400 Original-Received: by yxe41 with SMTP id 41so3242917yxe.14 for ; Mon, 19 Apr 2010 20:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=qHTFoqlO3lhtB+dR3kmRP56/3YlhSPtvFdmw9DetEos=; b=j983P0p8jEUwtiuDe9V7PPFJX4HKxnwHo04WZF34WFdgLy4OX2CunfCq34/IJwDW2L gGx3qKKLVyct+TGzcmsy7bCAWgZF3ItUC40vNiwgMEP1cTyixUBq/52uWpaAzH/Ja31U FObAiCD8LotEtwm4codAl3YZs5geNYAGkA22Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=jsINeDlpkB28tQ3BspUCLZh5G5yS6tNrYjyrEzgGwREG/6uZK7wpdsRRnYf/hT+jvU loLo2PNPhZCgCl1f8QXMtzqN4YzqLtmwaTE4HRJlSnwMhQJBehtoS9NFrt4vKdBexoAT FgC9fbHW+F7Zg/f7vL3O2ZmsHTOJVUWCKrEWM= Original-Received: by 10.100.56.30 with SMTP id e30mr15551079ana.38.1271733435354; Mon, 19 Apr 2010 20:17:15 -0700 (PDT) Original-Received: from [116.232.92.235] ([116.232.92.235]) by mx.google.com with ESMTPS id r21sm52495189anp.17.2010.04.19.20.17.11 (version=SSLv3 cipher=RC4-MD5); Mon, 19 Apr 2010 20:17:14 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72764 Archived-At: Hello experts, Emacs use syntax table to implement char to char matching, e.g. "(" and ")" parenthesis matching. But how to do string to string matching, e.g. "BEGIN" and "END" matching? Thank you, -Z