Merge pull request #2 from phoolish/path_attribute

Added a path attribute
escape regex expression