imathis/octopress — pull request #1156 by mthvedt (2013-03-26 22:15:31+00:00)
Title: Video tag now accepts any path

The current video tag only works with full paths (containing http:// or https://), not supporting relative paths.

Using a combination of reluctant and greedy quantifiers, the provided video tag regex seems to work correctly with arbitrary paths over a variety of valid inputs. (Per the URI spec, a valid relative reference can be just about anything so this approach seems superior to the approach in image_tag.rb).