 |
|
 |
i have to say this, thanks a lot for make it free. you've saved my day.
|
|
|
|
 |
|
 |
David,
I've been using "Agent Ransack" for quite a while now, searching mainly large plaintext files for strings that all occur in one line (for which regular expressions are extremely useful!)
The thing is, sometimes it's over a Gigabyte of text that will take A.R. quite a while to get through.
So if there's two things I might dare to "complain" about, it would be the following:
1. (Parts of) Lines in the search-result pane cannot be selected using the mouse, nor copied as text
2. As said above, speed is an issue for such big files of large amount of files.
Would it somehow be possible to use the index of Microsoft's Indexing Service, and search that instead of the actual files? If this worked, I'd only have to tell MS Indexing Svc which of my files to index, and *fast we go*
I'd be more than happy if this could be implemented.
And THANK YOU for such a great utility.
Regards
Steve
|
|
|
|
 |
|
 |
Hi there,
Thanks for this great tool. It's a slap on microsoft and google desktop search. Does it provide any API which I could use to loop through multiple search and saving them to file automatically rather than doing for each keyword manually?
|
|
|
|
 |
|
 |
hi all,
i m too much confused with following problem
please help me.............
i have files containing somewhere following line where email addresses are different.
Original address: khurana@bom7.vsnl.net.in
what i want to do is search files and get this line
and then extract the email address and store it in string variable.
please help me,
i want the code immediately.
|
|
|
|
 |
|
 |
hi all,
i m too much confused with following problem
please help me.............
i have files containing somewhere following line where email addresses are different.
Original address: khurana@bom7.vsnl.net.in
what i want to do is search files and get this line
and then extract the email address and store it in string variable.
please help me,
i want the code immediately.
|
|
|
|
 |
|
 |
Ok apologies to Shakespeare.
Just a note about the example
if (nValue = NULL)
Can't remember where I read it but I've trained myself to write
if (NULL == nValue)
so if(when) I make the mistake of using one =, the compiler shrieks!
Dave Cross
Anything you need to quantify can be measured in some way that is superior to not measuring it at all (Tom Gilb)
|
|
|
|
 |
|
 |
:-DI have been meaning to ask you to post this at codeproject for quite a while, but I kept forgetting. "Agent Ransack" is a tool I do NOT want to live with out.
No source no problem! Even though I would like to see the source it does not matter. This is a great tool!
P.S. I just went and registered my copy and will be purchasing "FileLocator Pro" in the near future.
INTP
|
|
|
|
 |
|
 |
David : first, nice work. I find myself using this utility often.
I have found a few text display errors. I usually set my windows color to something other than white so that I can catch assumptions made in drawing code and I found some in this. There are places where text appears on a white background that is not correct. I just thought you might want to know.
The Ten Commandments For C Programmers
|
|
|
|
 |
|
 |
I was wondering if this has any similar attributes to my project title which I am currently puzzled with: 'A magic file identification' system.
|
|
|
|
 |
|
 |
I've been looking for a parameter like "AND" when using regular expressions.
I need a match on "a AND is" when searching a sentence like "This is a test".
Is there a way to create such a search string by using regular expressions ?
Regards
Mads
|
|
|
|
 |
|
 |
Not explicitly but you can simulate an AND, e.g.
expression: a.*is
finds 'a' followed at some point by 'is'
expression: is.*a
finds 'is' followed at some point by 'a'
therefore expression: (is.*a)|(a.*is)
finds either of the top two expressions.
Hope that helps,
Dave.
|
|
|
|
 |
|
 |
Thanks for quick answer !
I'll then just manipulate the search string to form a suitable regular expression.
Regards
Mads
|
|
|
|
 |
|
 |
Very cool. Nice going! -John
"Hell, I'd piss on a spark plug if I thought it'd do any good." -Gen'l Berringer, from WarGames.
|
|
|
|
 |
|
 |
I tried to search for ^(BATCH).*(MAX)
I have strings like "BATCH_NAME_MAX" in my file
If I search for it (BATCH_NAME_MAX) - your tool finds it
but reg exp does not. I used Test and it says OK.
What am I doing wrong?
|
|
|
|
 |
|
 |
The '^' at the beginning of the regular expression represents the start of the line. So your expression would match any line that BEGINS with 'BATCH' followed by zero or more characters followed by 'MAX'. If you were just interested in looking for BATCH.*MAX anywhere on the line do not start the expression with '^'.
I can only guess that the reason you have the '^' is that the expression wizard is slightly confusing. The label says 'Begins with:' where what it really means is 'Line begins with:' and NOT 'Expression begins with'. Therefore if you do not want to specify exactly how the line starts leave the 'Begins with:' fields blank and move straight onto 'Followed by:'. I will work on the wording in a future version.
I hope this helps, if it doesn't please let me know.
Dave Vest.
|
|
|
|
 |
|
 |
This is an excellent tool! I've been looking for something like this for a long time. Thank you!
|
|
|
|
 |
|
 |
After some great feedback I have made some enhancements. I will post a new article but until then here is a summary (since 1.0.2):
- Highlight found text in user specified color
- Command line parameters (facilitates context menu extensions)
- Ability to switch off regular expression handling for contents searching
- Better print preview and page numbers
- Supports UNC names (e.g. \\SERVER\Folder)
- Ability to specify exclude file names (e.g. search for anything BUT .COM)
- Shows folder names
- All fields are now horizontally scrollable
- Fixed "Abnormal program termination" on bad files bug (uncaught exception).
- Use Windows color preferences
- Remember window size, position & font.
- Fix for "Please enter date/time" bug. (Replaced COleDateTime with Chris Sells' CComDATE.)
- Minor aesthetic changes
|
|
|
|
 |
|
 |
This would be a REAL good utility, if some future versions would support a "search and replace" feature. This is the one thing I desperately miss in VC-IDE every day.
PS: If this were open source, I had added this feature by myself ;-
|
|
|
|
 |
|
 |
Well, I have tried a lot of search & replace programs, none being perfect...
One that I use frequently is Martin Holmes' Multi-Replace, found at http://www.cict.co.uk/software/dev/mrep.htm
It doesn't have regular expression, and performs replaces only on a given list of files.
As such, it is a good complement of Agent Ransack: you find the files matching a criteria, and you can drag'n'drop the list of found files into Multi-Replace where you can perform the replace.
Not as good as an integrated feature, but not bad either.
|
|
|
|
 |
|
 |
Try www.searchandreplace.co
|
|
|
|
 |
|
 |
I agree. I also have a whole host of other features that have been requested. My main priority is to re-write the Contents view pane because, to be honest, it sucks. After that I'll move onto other features.
Thanks for your feedback,
Dave.
p.s. I'm considering open source.
|
|
|
|
 |
|
 |
I'm personal really happy with PCRE. Do you use an alternative one
|
|
|
|
 |
|
 |
I used a version of a Henry Spencer's regular expression code that can be found at:
http://codeguru.earthweb.com/string/reg_ex.shtml
I hope this helps,
Dave.
|
|
|
|
 |
|
 |
what I would like to know is how to use the Henry Spencer's regular expression code to search in binary files. I see that the class constructor accepts a TCHAR* only.
thank you.
|
|
|
|
 |
|
 |
Just a note -- if you are looking for source code for a utility like this, you won't find it here. This is not a utility project which includes source code, but is simply a freeware utility that may be of use to developers
|
|
|
|
 |