I've added more separators:
^route \s*(.+?)\s*(?:(?:\-*\>)|,|\-{2,})\s*(.+?)\s*$
This supports arrows with arbitrary length (>, ->, -->, --->, etc.), comma and "lines" with arbitrary positive length >= 2 (--, ---, etc.).
Remember, that the first complete separator in the input is used.
\- may be replaced with - but this version is safer because in some constellations - can become part of a modifier.