| Subject: | Turning regexp-opt back to a list of words |
|---|---|
| From: | rgb |
| Date: | Fri, 29 Aug 2008 07:26:12 -0700 PDT |
| Newsgroups: | comp.emacs |
Lets say some mode writer used regexp-opt to create their font-lock- keyword expression. So only something like this string is in the mode source, not the original word list. "\\<\\(d\\(?:o\\|efault\\)\\|else\\(if\\)?\\|f\\(?:oreach\\|unction\\)\ \|if\\|switch\\|t\\(?:hrow\\|rap\\)\\|w\\(?:here\\|hile\\)\\)\\>" The mode is not supported and I want to take over maintenance. That means adding words. Is there any way to turn this back into a list so the new words can be added? |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: How can I set the default browser for Emacs?, David Hansen |
|---|---|
| Next by Date: | Re: How can I set the default browser for Emacs?, Angus77 |
| Previous by Thread: | How can I set the default browser for Emacs?, Angus77 |
| Next by Thread: | Re: Turning regexp-opt back to a list of words, Kyle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |