help: replace regexp

Wolfgang Jenkner wjenkner at inode.at
Tue Dec 13 02:49:12 CET 2011


"damien.thiriet77" <damien.thiriet77 at laposte.net> writes:

> On natchniony i mlody byl He was inspired and young.
> In order to eliminate polish version, i asked for:
> :s/ *[A-Z][^[A-Z]*//
> The proper zone described by regexp was highlighted, but only the first character of the sequence was deleted, 
> not the whole sequence.

A mismatch of defaults :-)

(setq case-fold-search nil)

Wolfgang



More information about the implementations-list mailing list