Page 1 of 1

Select by text pattern, # Fails

Posted: Thu May 17, 2012 9:36 pm
by therube
Duplicate Cleaner 2.1

Select by text pattern, # Fails

(I have not verified, nor do I know if DC3 is affected ...)

I am ... Select by text pattern |
Column: Path | Pattern: \\Nas\office\COPY\_LARRY\My Documents\Word\School#61\
Match, RE, & currently selected rows, are unchecked.

This fails to select any files, when it should.
I suspect that it is the # sign that is affecting things.

---

What I have been doing up to this point is to highlight a particular file (tree, if you will).
Select by location, & using the > to paste its path into the dialog
> \\Nas\office\COPY\_LARRY\My Documents\Word\School#61\Subcontracts\P&J\
Copying that, then pasting it into the Select by text pattern dialog, truncating the path to fit my needs.
> \\Nas\office\COPY\_LARRY\My Documents\Word\School#61\
Then clicking the Mark button.
(I'm doing it this way because, using the '>' makes it easy to get the path, then jump to the other Selection tab & paste it in & modify & go.)

Had no problems until the tree with the # came about.

Re: Select by text pattern, # Fails

Posted: Fri May 18, 2012 11:06 am
by DigitalVolcano
You are correct, thanks for spotting that. # (and [ ) are special characters and need to be escaped. ('[' used on it's own will crash it)
This will be fixed in the next update of Duplicate Cleaner Free + Pro

As a workaround you can escape the # using square brackets - eg "school[#]61"

Re: Select by text pattern, # Fails

Posted: Fri May 18, 2012 2:31 pm
by therube
As a workaround you can escape the # using square brackets - eg "school[#]61"
Works, thanks :-).

Re: Select by text pattern, # Fails

Posted: Tue May 29, 2012 2:25 pm
by DigitalVolcano
Fixed now, in v3.0.6 :D

A fix for DC Free to follow.