You specified a pattern as part of a ed command but did not delimit it.
Provide a trailing delimiter for the pattern.