Basically, what I would like to do is search in the folder of my subfolders for a list of search terms. It should not be heavily optimized or anything like that. I would like the library to be able to "match the case", the coincidence "Only whole words", etc.
I think I could write something like this, opening every file in the file, and looking for every word, etc., but I really want a short reduction. Is there some kind of library that already does most of this?
My dream code would be something like this:
ArrayList occurrences = SomeLibrary.parse("directoryPath","searchTerm");
Is there anything close to this high level?
Thanks Grae
source
share