[OS X TeX] Bug in OgreKit in TeXShop 3 - regular expressions not working correctly

Luis Sequeira lfsequeira at gmail.com
Thu Apr 19 14:38:08 CEST 2012


Hi

Regular expressions aren't working correctly for me in TeXShop 3.06.
I was dealing with a large automatically generated document and was trying to make some systematic changes, and came across a serious problem.

The regular expression 
 
     [0-9]*

is supposed to match any sequence of zero or more digits. It turns out that in TeXShop 3.06 with the OgreKit find panel, it matches only sequences of at least THREE digits; shorter sequences do not match. I found this as I was looking for a certain pattern that I knew occured more than a hundred times in my file but got only 8 matches.

I still keep TeXShop 2.43 around and, sure enough, it works correctly there. It is probably a bug in OgreKit, but if so it is an egregious bug... any suggestions?

Luis Sequeira

(please cc: me, since I am in digest mode; I would appreciate getting the feedback sooner rather than later)





More information about the macostex-archives mailing list