Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created May 13, 2011 17:00
Show Gist options
  • Save springmeyer/970889 to your computer and use it in GitHub Desktop.
Save springmeyer/970889 to your computer and use it in GitHub Desktop.
# in python
import mapnik2
mapnik2.Expression("[name].replace('(\B)|( )','$1 ')")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment