fix signature regex to handle -- properly

This fixes parsing issue if there is -- or __ in between the words where it is not a signature.