Author |
Topic |
|
Hax
128 Posts |
Posted - 11/02/2012 : 05:26:47
|
It would be nice to have the possibility to ignore many exe files by selecting a directory path. |
|
Rob
USA
2615 Posts |
Posted - 11/02/2012 : 12:54:32
|
Added in 2.3.6. Fortunately, I already had the path from getting the EXE name, so this was an easy addition that won't add overhead.
Note that it's case sensitive (for me, anyway). So for Chrome, I had to use:
.*Chrome.*
It's under the "Chrome" folder; ".*chrome.*" didn't match. |
|
|
Hax
128 Posts |
Posted - 11/02/2012 : 13:45:58
|
It doesn't work. It is always saved in the File Name Pattern field. Moreover, spaces cause crash. |
|
|
Rob
USA
2615 Posts |
Posted - 11/02/2012 : 16:02:58
|
I see where I missed something when loading the value, it was going to the file name pattern field, but was being saved/processed properly. Fixed that, but other than that, it works fine for me and I can't get it to crash with spaces.
Would you mind posting the pattern you're using and the folder names so I can try to reproduce?
Also, confirm the value is staying in the right place for you:
http://www.strokesplus.com/files/StrokesPlus_2.3.7_x64_chg.zip |
|
|
Hax
128 Posts |
Posted - 11/02/2012 : 17:01:05
|
The value is staying in the right place now. Working fine.
I made a mistake. Spaces were fine. The single backslash (yeah, old buddy \) is crashing S+. |
|
|
Rob
USA
2615 Posts |
Posted - 11/02/2012 : 17:03:36
|
Ah, that's probably because it's being concat'd into a regular string and passed into the boost regex stuff, I think it'll need to be escaped. |
|
|
Rob
USA
2615 Posts |
Posted - 11/02/2012 : 17:08:02
|
I'll get to cleaning up those things, but for now just escape..I have a busy week and weekend and don't feel like working on exception handling |
|
|
Hax
128 Posts |
Posted - 11/02/2012 : 17:26:47
|
Something like C:\\Program Files\\Opera doesn't work. There is no crash, though. However, I'm perfectly fine with regular expressions. It's OK. Thank you! |
|
|
Rob
USA
2615 Posts |
|
|
Topic |
|