searching for empty text should give back the original text and an empty list of results
searching for text that is identical to the source text should give back the source text as a single result
searching for a word that exists n times within a source text should give back a n results
searching for a word with a context of size n should produce results with a context of size n for reach result
Search Options
TODO: write test cases for each of these
match case
match whole word
regex
Replacing
for any given search: replacing with empty text should delete the search results from the source text
for any given search with n results: replace with a word (that doesn't appear in the source text) should have n occurrences of that word in the result text.
Searching
n
times within a source text should give back an
resultsn
should produce results with a context of sizen
for reach resultSearch Options
TODO: write test cases for each of these
Replacing
n
results: replace with a word (that doesn't appear in the source text) should haven
occurrences of that word in the result text.