Problem: New interactive :substutite behavior is not tested.
Solution: Add tests. (Christian Brabandt)
TEST_8:
+STARTTEST
+:set magic&
+:set cpo&
+:$put =\"\n\nTEST_8:\"
+:$put =',,X'
+:s/\(^\|,\)\ze\(,\|X\)/\1N/g
+:$put =',,Y'
+:s/\(^\|,\)\ze\(,\|Y\)/\1N/gc
+a:$put =',,Z'
+:s/\(^\|,\)\ze\(,\|Z\)/\1N/gc
+yy/^TEST_9
+ENDTEST
+
+TEST_9:
+
STARTTEST
:/^Results/,$wq! test.out
ENDTEST
A\rA
B
B
+
+
+TEST_8:
+N,,NX
+N,,NY
+N,,NZ
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 793,
/**/
792,
/**/