id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
4525	Wrong string replacement using regular expression with ^-sign (begin of line)	sabitov	andrew_b	"== How to reproduce ==

1 Run mcedit and type in these lines:

{{{
111
112
113
114
115
121
122
}}}


2 Go to the beginning of the file and press F4
3 Fill in the form this way: 

{{{
""Enter search string:"" ^1
""Enter replacement string:"" 7
(*) ""Regular expression""
}}}


4 <OK> -> <All>

The correct result MUST be:

{{{
711
712
713
714
715
721
722
}}}


As a result you'll get this text:

{{{
777
772
773
774
775
721
722
}}}


== 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."	defect	closed	critical	4.8.32	mcedit	4.8.27	fixed				4526	merged	andrew_b
