help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with regexp


From: exits funnel
Subject: Re: Trouble with regexp
Date: Tue, 25 Oct 2005 11:40:03 -0700 (PDT)


--- Pascal Bourguignon <spam@mouse-potato.com> wrote:
> Given the input file, I'd wouldn't bother matching
> the exact
> characters (you could have digits and underlines)
> and use:
>  
> %token FOO_\([^ ]*\)
> t_foo_\1 = '\1';

Thanks Pascal, that was even better as I did in fact
run into some '_'s;

-exits


        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]