Create proper regex if target is an UUID
authorJens Georg <mail@jensge.org>
Wed, 16 Nov 2011 13:04:06 +0000 (14:04 +0100)
committerJens Georg <mail@jensge.org>
Wed, 16 Nov 2011 13:08:12 +0000 (14:08 +0100)
commit60067f3435da2532c66646fd16498b5cbe01b011
tree8d0e271612c5a74faed3055db2c5200e1024a0f9
parent12dafb895a9c1567fb25748df641222ed609a0b5
Create proper regex if target is an UUID

This patch only appends the version regex if:
 - the target doesn't start with "uuid:"
 - the target starts with "uuid:", but has another colon later on
 - the string after the colon consists of numbers

The matching was changed to match numbers starting after the colon, not
just somewhere after the column.

https://bugzilla.gnome.org/show_bug.cgi?id=664177
libgssdp/gssdp-resource-browser.c