avdgaag/nanoc-template — Issue #17: Concatenation filter doesn't work for me
Author: sumwai
Created: 2012-01-06 00:37:02+00:00
State: open

concatenation filter doesn't work for me when adding files relative to the current directory, until I modified the regex
```ruby
def run(content, args = {})
content.gsub(%r{^\s*(?:(?://|#) require |@import url)\(?([a-zA-Z0-9_\-\/\.]+)(?:\);)?$}) do |m|
load_file($1) || m
end
end
```
excaping \ in a-zA-Z0-9_\-\/\.