I\'m trying to perform a regex search and replace in Emacs (using M-x query-replace-regexp), but the usually helpful smart case is getting in the way. My sourc
M-x query-replace-regexp
In a current emacs, you can find the option in the Options menu. Save Options, if you wish through the same menu.