[darcs-users] boring file regex to ignore directory contents but not the directory iteself

Drew Vogel dvogel at intercarve.net
Wed Feb 21 20:05:57 UTC 2007


I am using Smarty for a web problem. The directory where it stores it's
compiled templates is names "compile". I want to include this directory
in my darcs repo, but I don't want to include the contents. In my boring
file I have

^compile/[^/]+

While the contents on compile/ are ignored, darcs seems to be ignoring
the directory itself. Why does this regex match compile/, despite the [^/]+?

Drew Vogel



More information about the darcs-users mailing list