[OSM-dev] Split osm line with perl

Lennard ldp at xs4all.nl
Sun Nov 29 11:56:43 GMT 2009


Dave Stubbs wrote:

> And then hope that the attributes are in the order you're expecting,
> and that the XML has used " rather than '. And in the example code
> given below hope that only one space was used.

Adding that to the example code I gave would detract from the actual 
matching of what he asked, since he seemed to be stuck on using 'split' 
instead of a regex.

I know it isn't ideal, given the way XML works, but he'll have to work 
out those difficult bits for himself. ;-)

-- 
Lennard




More information about the dev mailing list