Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Formatting with backticks, rather than doubling the backslashes
Source Link
phils
  • 53k
  • 3
  • 84
  • 127

I'm trying to expand abbreviations with some additional characters, so I'm using the regexp option on an abbrev-table to try and add these characters. The expression I used was found on this tutorial http://ergoemacs.org/emacs/elisp_abbrev.html and is "\\([_-*0-9A-Za-z]+\\)""\\([_-*0-9A-Za-z]+\\)" when using this expression I can only use expands that match a single character. I've tried several different variations on the regexp and can't get anything to work. Any suggestions of what is going on would be great?

I'm trying to expand abbreviations with some additional characters, so I'm using the regexp option on an abbrev-table to try and add these characters. The expression I used was found on this tutorial http://ergoemacs.org/emacs/elisp_abbrev.html and is "\\([_-*0-9A-Za-z]+\\)" when using this expression I can only use expands that match a single character. I've tried several different variations on the regexp and can't get anything to work. Any suggestions of what is going on would be great?

I'm trying to expand abbreviations with some additional characters, so I'm using the regexp option on an abbrev-table to try and add these characters. The expression I used was found on this tutorial http://ergoemacs.org/emacs/elisp_abbrev.html and is "\\([_-*0-9A-Za-z]+\\)" when using this expression I can only use expands that match a single character. I've tried several different variations on the regexp and can't get anything to work. Any suggestions of what is going on would be great?

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 4 characters in body
Source Link

I'm trying to expand abbreviations with some additional characters, so I'm using the regexp option on an abbrev-table to try and add these characters. The expression I used was found on this tutorial http://ergoemacs.org/emacs/elisp_abbrev.html and is "\"\\([_-*0-9A-Za-z]+\z]+\\)" when using this expression I can only use expands that match a single character. I've tried several different variations on the regexp and can't get anything to work. Any suggestions of what is going on would be great?

I'm trying to expand abbreviations with some additional characters, so I'm using the regexp option on an abbrev-table to try and add these characters. The expression I used was found on this tutorial http://ergoemacs.org/emacs/elisp_abbrev.html and is "\([_-*0-9A-Za-z]+\)" when using this expression I can only use expands that match a single character. I've tried several different variations on the regexp and can't get anything to work. Any suggestions of what is going on would be great?

I'm trying to expand abbreviations with some additional characters, so I'm using the regexp option on an abbrev-table to try and add these characters. The expression I used was found on this tutorial http://ergoemacs.org/emacs/elisp_abbrev.html and is "\\([_-*0-9A-Za-z]+\\)" when using this expression I can only use expands that match a single character. I've tried several different variations on the regexp and can't get anything to work. Any suggestions of what is going on would be great?

Source Link

Regexp only matching one character when using abbreviations

I'm trying to expand abbreviations with some additional characters, so I'm using the regexp option on an abbrev-table to try and add these characters. The expression I used was found on this tutorial http://ergoemacs.org/emacs/elisp_abbrev.html and is "\([_-*0-9A-Za-z]+\)" when using this expression I can only use expands that match a single character. I've tried several different variations on the regexp and can't get anything to work. Any suggestions of what is going on would be great?