How to write a perl program that require:
1. Accept a file to be checked, report each line of the file that has doubled words, then highlight each doubled word.
2. Work across lines, even finding situations where a word at the end of one line is repeated at the beginning of the next.
3. Find doubled words despite capitalization differences, such as ¡§The the ¡K¡¨, as well as allowing differing amounts of whitespace (space, tabs, newlines) to lie between words.
4. Find doubled words that are separated by HTML tags.
Can anyone help me? Thx
1. Accept a file to be checked, report each line of the file that has doubled words, then highlight each doubled word.
2. Work across lines, even finding situations where a word at the end of one line is repeated at the beginning of the next.
3. Find doubled words despite capitalization differences, such as ¡§The the ¡K¡¨, as well as allowing differing amounts of whitespace (space, tabs, newlines) to lie between words.
4. Find doubled words that are separated by HTML tags.
Can anyone help me? Thx