[OS X TeX] Regular Expression needed...
George Gratzer
gratzer at me.com
Sat Nov 13 15:39:11 CET 2010
The book I am finishing has 10 legitimate double words!
GG
On 2010-11-07, at 6:48 PM, Louis Talman wrote:
>
> On Nov 7, 2010, at 4:06 PM, Herbert Schulz wrote:
>
>> Can someone supply a regex that will find repeated words (e.g., repeated repeated) in a file? This is for use with TeXShop's OgreKit Find. It would also be nice to be able to have a replace regex to leave only one of the repeats.
>
>
> The latter might be dangerous. ``He got in trouble when he applied his replace regex to his source file because it had had `had had' repeated many times.''
>
>
> --Lou Talman
> Department of Mathematical & Computer Sciences
> Metropolitan State College of Denver
>
> <http://rowdy.mscd.edu/%7Etalmanl>
>
>
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
More information about the macostex-archives
mailing list