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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.