[aprssig] APRS device identifiers (tocalls) in YAML, XML and JSON

Georg Lukas georg at op-co.de
Thu Oct 24 05:28:58 EDT 2013

* Heikki Hannikainen <hessu at hes.iki.fi> [2013-10-24 08:43]:
> I would prefer taking a regexp library (pcre) and just throw the
> tocall spec found in the database file at it, instead of writing my
> own converters, since writing custom converters takes time and effort
> and may introduce bugs. String matching is sooooo a solved problem
> already. :)

+1 on that. I would really like to have an easy way (regular
expressions) to a) determine the client info block and b) extract the
version number.

My proposal would be to leave the tocall as-is, and add another
(slightly redundant) "regex" field that allows to match for the tocall
and to extract the version number, e.g. "^APWM(\d\d)$" (I hope I did not
botch the syntax now, but the point is just to make the intent clear).

Does YAML require any type of escaping for such strings?

73 de Georg DO1GL
APRSdroid - Open Source APRS Client for Android | http://aprsdroid.org/m
https://play.google.com/store/apps/details?id=org.aprsdroid.app | @APRSdroid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.tapr.org/pipermail/aprssig_lists.tapr.org/attachments/20131024/dc3b9137/attachment.asc>

More information about the aprssig mailing list