help: replace regexp
frank.fischer at mathematik.tu-chemnitz.de
Tue Dec 13 09:29:24 CET 2011
On Tue, Dec 13, 2011 at 01:24:37AM +0100, damien.thiriet77 wrote:
> They might be an issue with substitutions involving regexp: I had to deal with inputs from this kind
> 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.
Fixed in 5f04c43
At least, the highlighting and the replacement should match now.
Depending on you default settings, adding \C somewhere in the pattern
may help (making the pattern case-sensitive).
More information about the implementations-list