Thanks to Guillaume for the patch, but I implemented it in a different way due to changes to the codebase, lack of tests, lack of UTF-8 support and how it should work for updating/removing comments.
Thanks to Guillaume for the patch, but I implemented it in a different way due to changes to the codebase, lack of tests, lack of UTF-8 support and how it should work for updating/removing comments.