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

Luis Sequeira lfsequeira at gmail.com
Thu Apr 19 15:53:00 CEST 2012


On Apr 19, 2012, at 1:38 PM, Luis Sequeira wrote:

> 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)
> 
> 

Never mind, I figured it out. Under "More options" there is checkbox for "Find longest". Unchecking made things normal again. 

Luis Sequeira




More information about the macostex-archives mailing list