GerHobbelt/milkbox — Issue #1: TODO: test the file extension / href matching regexes
Author: GerHobbelt
Created: 2012-02-11 14:22:14+00:00
State: open

There's one in a string; it's a old fix of mine to make sure the . in there is treated as a literal . instead of a single-char wildcard, but this needs verification again as a few things have changed over time and I may be wrong. The other file ext regex is a JS regex expression: does it need the dual \\ before . as well?

Also see what the new d+ regex stuff does in my environments; my guess is it need a bit more to match vimeo video URLs and other 'feasibles'. Compare against the other lightbox implementation: http://iaian7.com/webcode/mediaboxAdvanced which has all that sort of stuff already.