Comments on: Multi-file find and replace for {% url “quoted” %} tag in Django 1.5 http://scottbarnham.com/blog/2013/04/03/multi-file-find-and-replace-for-url-quoted-tag-in-django-1-5/ Code and comments on web development, Django, Python and things (un)related. Wed, 03 Apr 2013 13:15:20 +0000 hourly 1 http://wordpress.org/?v=4.3 By: mawe http://scottbarnham.com/blog/2013/04/03/multi-file-find-and-replace-for-url-quoted-tag-in-django-1-5/comment-page-1/#comment-1186 Wed, 03 Apr 2013 13:15:20 +0000 http://scottbarnham.com/blog/?p=103#comment-1186 Or you could just use VIM:

:args **/*.html
:argdo %s/{% url \(\%[\w-_]\+\)/{% url ‘\1’/g | update

]]>
By: Patryk Zawadzki http://scottbarnham.com/blog/2013/04/03/multi-file-find-and-replace-for-url-quoted-tag-in-django-1-5/comment-page-1/#comment-1185 Wed, 03 Apr 2013 13:01:53 +0000 http://scottbarnham.com/blog/?p=103#comment-1185 sed(1) is much faster.

]]>