When searching for name duplicates I sometimes have to find just a part of the name.
For example with imtranslator_translator_dictionary_tts-16.7-fx.xpi
I would just like to find if the imtranslator_translator_dictionary part of the name has been duplicated (same file name, different version number)
Is this possible?
thanks.
Finding partial name duplicates
Re: Finding partial name duplicates
Sounds something like, ignore: fuction (RFE).
(& from "ancient" times , seg$(), How to search dupes in the first X characters of the name?)
(& from "ancient" times , seg$(), How to search dupes in the first X characters of the name?)
Re: Finding partial name duplicates
Please try the following search:
regex:^(.*)-.*$ dupe:regmatch1
Files with the same text matched inside (.*) are shown in the results.
regex:^(.*)-.*$ dupe:regmatch1
Files with the same text matched inside (.*) are shown in the results.
Re: Finding partial name duplicates
Again, just noticed this reply.
Apologies, I'm being dense..Where would the text go?regex:^(.*)-.*$ dupe:regmatch1
Files with the same text matched inside (.*) are shown in the results
Re: Finding partial name duplicates
If you would like to view the captured regex text, please add the Regular expression match 1 column:
regex:^(.*)-.*$ dupe:regmatch1 addcolumn:regmatch1
regex:^(.*)-.*$ dupe:regmatch1 addcolumn:regmatch1
Re: Finding partial name duplicates
Thanks David, is this correct?
regex:^(.*)-.*$ dupe:regmatch1 addcolumn:regmatch1 imtra
regex:^(.*)-.*$ dupe:regmatch1 addcolumn:regmatch1 imtra
Re: Finding partial name duplicates
Regex is being greedy with: -
Please try:
regex:^([^-]*)-.*$ dupe:regmatch1 addcolumn:regmatch1 imtra
Please try:
regex:^([^-]*)-.*$ dupe:regmatch1 addcolumn:regmatch1 imtra
Re: Finding partial name duplicates
That doesn't seem to work, it shows all results with imtra in, rather than just the duplicates.
But, regex:^(.*)-.*$ dupe:regmatch1 addcolumn:regmatch1 imtra, does seem to work, I'll experiment further.
But, regex:^(.*)-.*$ dupe:regmatch1 addcolumn:regmatch1 imtra, does seem to work, I'll experiment further.