On Wed, Feb 28, 2001 at 10:10:20AM -0800, Arun Sharma wrote:
> On Tue, Feb 27, 2001 at 10:34:11AM +0530, Gaurav Priyolkar wrote:
> 
> I think you're on the right track. Have you figured out what the trailing
> part of the regexp "\\'" is for ?

Not very sure, but from the info emacs regexps:

`\''
     matches the empty string, but only at the end of the buffer or
     string being matched against.

So I guess that since \' is appearing inside double-quotes, it is
escaped with a \ so that it is not interpolated. 
 
> If nothing works, single step through the process of walking auto-mode-alist
> (M-x debug-on-entry). Sometimes that's tedious - just try calling emacs's
> regexp matching routines with your string and the regexp and debug it.

emacs has a interactive regular expression matching routines/debugger? Sounds
very useful! I could not find much in info, how do I use/invoke it?

-Gaurav

-- 
Ultimate file compression:   'rm -rf /'    (100% compression)

----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to