[OS X TeX] Regular Expression needed...

Louis Talman talmanl at gmail.com
Sun Nov 7 18:48:04 EST 2010


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>







More information about the MacOSX-TeX mailing list