micolous/cfsprinter — pull request #9 by Shaggs (2014-02-13 07:48:36+00:00)
Title: removal of @ and ASE device from getting into the address section

as you may be aware when you get paged to a place by SACAD (South Australian Computer Aided Dispatch) it adds an @ to a place e.g Royal Adelaide Hospital. Google maps doesn't know how to handle the @ sign and prints no map.

The ASE device (alarm number / device number) is the # with 3numbers/3numbers. This directs the turnout crew where the alarm came from. e.g @ST ANDREWS MEDICAL CENTRE #010/183

the code below will remove the @ and # from the address string

at line 119 of pagerprinter.py please add the following
+	adds = addr.split(trigger_end)[0]

+	#lets remove the @ and the ASE device (thats the #3numbers/3numbers)

+	addr = re.sub (r'#\d{3}/\d{3}|@', '',adds)