[GRASS-dev] regex problem for r.in.wms
Jachym Cepicky
jachym.cepicky at gmail.com
Sun Mar 9 05:42:39 EDT 2008
Rewrite this in python ?
or using new gdal features
jachym
Hamish píše v So 08. 03. 2008 v 20:27 -0800:
> Hi,
>
> re. r.in.wms XML paring code for layers with spaces in the name
>
> given some text like this:
>
> DATA="<Name>Foo Bar Baz</Name>"
> echo "$DATA" | sed -e "s/<Name>\s*\(\w*\)/~\1~/g" -e "s/<\/Name>//g"
>
> you get
> ~Foo~ Bar Baz
>
> instead of
> ~Foo Bar Baz~
>
> how to fix that regex?
>
>
> thanks,
> Hamish
>
>
>
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20080309/d1162f31/attachment.bin
More information about the grass-dev
mailing list