Or perhaps "^/CPack" for "begins with /CPack"
or perhaps ".*/CPack" for "contains /CPack"

David Cole wrote:

You still have leading "/" in all of your regular expressions...

Try these: (for "begins with CPack" and "ends with ~")

"^CPack"
"~$"


Hendrik Belitz wrote:

Am Donnerstag, 6. Juli 2006 16:44 schrieben Sie:

why are you ending each regular expression with '/' ? I haven't tried
any of this, but it seems that your regular expression "/^CPack.*/"
will catch any path containing a *directory* that starts with CPack
(i.e., ".../CPackConfig.cmake/..."), which is not what you want...

Try: "/^CPack.*" and "/.*\\\\.kdev.*"

--Miguel


Okay, I tried the following

"/.*\\\\.kdev.*"
"/.*\\\\.tar\\\\.gz"
"/^CPack.*"
"/~$"

All files containing kdev or tar.gz get removed correctly, files starting with CPack or ending with ~ do not. Any ideas?

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to