library: VTY: Allow hyphens in VTY prompt

Old versions of osmo-pcu print "Osmo-PCU" as VTY prompt. This commit
allows supporting this kind of prompt.

Change-Id: Ia5acbbe5828901726f7f15c4a99d596e94914c4b
diff --git a/library/Osmocom_VTY_Functions.ttcn b/library/Osmocom_VTY_Functions.ttcn
index b61a655..a1724e9 100644
--- a/library/Osmocom_VTY_Functions.ttcn
+++ b/library/Osmocom_VTY_Functions.ttcn
@@ -63,9 +63,9 @@
 
 		T.start;
 		alt {
-			[] pt.receive(pattern "\w+" & VTY_VIEW_SUFFIX) { };
-			[] pt.receive(pattern "\w+\# ") { };
-			[] pt.receive(pattern "\w+\(*\)\# ") { };
+			[] pt.receive(pattern "[\w-]+" & VTY_VIEW_SUFFIX) { };
+			[] pt.receive(pattern "[\w-]+\# ") { };
+			[] pt.receive(pattern "[\w-]+\(*\)\# ") { };
 			[] pt.receive(t_vty_unknown) {
 				testcase.stop(fail, "VTY: Unknown Command");
 				};