plugins/correction: make the trailing slash optional in sed statements

Resolves https://github.com/CloudBotIRC/CloudBotRefresh/issues/32 - the trailing slash is optional but flags still work as intended if it is provided.