Wrong string replacement using regular expression with ^-sign (begin of line) #4525
Labels
area: mcedit
mcedit, the built-in text editor
prio: high
Serious problem that could block progress
ver: 4.8.27
Reproducible in version 4.8.27
Milestone
Important
This issue was migrated from Trac:
sabitov
(mc@….pp.ru)How to reproduce
1 Run mcedit and type in these lines:
2 Go to the beginning of the file and press F4
3 Fill in the form this way:
4 <OK> -> <All>
The correct result MUST be:
As a result you'll get this text:
That's wrong
This regex should to change only the first char in each line.
a) there are wrong changes at second char in lines 1-5
b) there is wrong change at third char in line 1
c) pay attention to the 6th and 7th lines. They are correct.
The text was updated successfully, but these errors were encountered: