Re: [nongnu] elpa/yaml-mode 508c006642 3/5: Improve imenu index regular expression
Stefan Monnier <[email protected]>
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
> (defcustom yaml-imenu-generic-expression > - '((nil "^\\(:?[a-zA-Z_-]+\\):" 1)) > + '((nil "^\\(:?[a-zA-Z_][-a-zA-Z0-9_.]*\\):" 1)) > "The imenu regex to parse an outline of the yaml file." I suspect `a-zA-Z` could be replaced by `[:alpha:]` and `a-zA-Z0-9` could be replaced by `[:alnum:]`. === Stefan