From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.help Subject: Re: fontlock and imenu problems Date: 19 Feb 2003 22:20:11 +0100 Organization: None Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045692173 6796 80.91.224.249 (19 Feb 2003 22:02:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Feb 2003 22:02:53 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18lcIk-0001l3-00 for ; Wed, 19 Feb 2003 23:02:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18lcHT-0006Ij-05 for gnu-help-gnu-emacs@m.gmane.org; Wed, 19 Feb 2003 17:01:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!news.supernews.com!cicero.benny.turtle-trading.net!nobody Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 16 Original-Xref: shelby.stanford.edu gnu.emacs.help:110406 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6908 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6908 Hi Javier, "Javier Oviedo" writes: > Thanks. How can I represent one or more spaces in the format that > c-font-lock-keywords would understand? Thanks. c-font-lock-keywords uses regular expressions (regexps for short). If you don't know how regexps work, get some tutorial, e.g. any beginner's Unix intro should have a section on them. Or you can just jump right in and read the Emacs regexp docs at C-h i g (emacs)regexps RET Hope this helps, benny