[OS X TeX] regular expression matching in TeXShop

Alan Munn amunn at msu.edu
Thu Dec 21 18:48:31 EST 2006


At 1:26 AM +0200 12/22/06, Charilaos Skiadas wrote:
>On Dec 21, 2006, at 9:34 PM, Alan Munn wrote:
>
>>
>>So the regular expression
>>
>>^(([^\&]*\&){1,3})
>>
>>Should match the first 3 columns of the table (assuming I position 
>>the cursor before the first character of the first row.)
>>
>>
>>But for some reason, the expression doesn't seem to pay attention 
>>to the beginning of the line, so if you search at the beginning of 
>>the first line of the table, and it correctly selects the first 
>>three columns, but when you click 'Next' you get the next three 
>>columns rather than the first three of the next line.

(some editing of my own text above to make it read properly)

>
>Your regexp works as desired in TextMate, I don't think it should be 
>any different in other editors either.
>

Thanks.  So I'm not going crazy.  I guess I'll submit a bug report to 
TeXShop.  The link to the OgreKit page in the TeXShop help seems to 
be broken.

Alan

-- 
Alan Munn                                                   amunn at msu.edu
Department of Linguistics                                   amunn at acm.org
and Germanic, Slavic, Asian and African Languages   Fax.  +1-517-432-2736
Michigan State University, East Lansing MI 48824    Tel.  +1-517-355-7491

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list