Index: src/webapp/webservice/inc/GnuBoat/Nmea/Nmea0183/Nmea0183Sentence.php
===================================================================
--- src/webapp/webservice/inc/GnuBoat/Nmea/Nmea0183/Nmea0183Sentence.php	(revision a50c18fef08b331ee0dc7d29dfe1dd5b3574d03f)
+++ src/webapp/webservice/inc/GnuBoat/Nmea/Nmea0183/Nmea0183Sentence.php	(revision e56114365354bdb929dc068700ae658e01b9b38a)
@@ -37,5 +37,5 @@
 		// extract characters to calculate checksum
 		$matches = array();
-		$result = preg_match('/^[\$!]{1}([^\*]+)\*([\da-zA-Z]+)$/', $this->sentence(), $matches);
+		$result = preg_match('/^[^\$!]{0,}[\$!]{1}([^\*]+)\*([\da-zA-Z]+)$/', $this->sentence(), $matches);
 		if($result === false || $result == 0 || count($matches) != 3){
 			$errorMessage .= "Unable to determine ascii content and checksum from ". $this->sentence() ."\n";
Index: src/webapp/webservice/inc/GnuBoat/Nmea/Nmea0183/Parser.php
===================================================================
--- src/webapp/webservice/inc/GnuBoat/Nmea/Nmea0183/Parser.php	(revision a50c18fef08b331ee0dc7d29dfe1dd5b3574d03f)
+++ src/webapp/webservice/inc/GnuBoat/Nmea/Nmea0183/Parser.php	(revision e56114365354bdb929dc068700ae658e01b9b38a)
@@ -80,5 +80,5 @@
 	
 		$matches = array();
-		$result = preg_match('/^[\$!]{1}([\w]{2})([\w]{3})([^\*]+)\*([\da-zA-Z]+)$/', $sentence, $matches);
+		$result = preg_match('/^[^\$!]{0,}[\$!]{1}([\w]{2})([\w]{3})([^\*]+)\*([\da-zA-Z]+)$/', $sentence, $matches);
 		if($result === false || $result != 1 || count($matches) != 5){
 			$message = "Could not detect talker, type and checksum from ". $sentence;
