emacs-devel
[Top][All Lists]
Advanced

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

Re:


From: Steve Purcell
Subject: Re:
Date: Tue, 9 Feb 2016 08:05:26 +1300

> On 9 Feb 2016, at 01:56, Artur Malabarba <address@hidden> wrote:
> > -     :prompt-regexp "^\\w*=[#>] "
> > +     :prompt-regexp "^[[:alpha:]_]*=[#>] "
> 
> One thing that comes to mind is that \\w and :alpha: are generally not the 
> same thing. So \\(\\w\\|_\\) might be more appropriate.
> 


Yes, possibly. And in fact :alnum: would be better than :alpha:, of course…

And since the rules for database names are probably much the same as for other 
SQL identifiers, there’s a chance \\s (symbol constituent) would work too.


reply via email to

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