[OS X TeX] Regex

George Gratzer gratzer at me.com
Tue Mar 19 10:41:44 EDT 2013


Dear Josep Maria,

We all have the same problem: we have to Grep once a year and when we have to, we find that we have to start from scratch.

My saviour is the BBEdit User Manual that has a 32 page chapter on Grep. Try it.

Best,

George


On 2013-03-19, at 10:36 AM, Josep Maria Font <jmfont at ub.edu> wrote:

> On 19 Mar 2013, at 14:54, Herbert Schulz wrote:
> 
>> Try to Google regex and see if you find anything worthwhile there.
> 
> Of course. But, as Richard Erickson wrote:
> 
>> I was never able to find any good web resources because there are too many unhelpful sites.
> 
> 
> I was only hoping that someone with the same needs would share some nice experience...
> 
>> (I don't like to recommend particular places because there are different kinds of regex [e.g., Ruby, Perl, bash use somewhat different syntax] and people learn different ways.)
> 
> Then it would be imperative to know the version used by the OgreKit Find Panel!
> 
> Actually, concerning OgreKit the TeXShop Help Panel points to <http://www-gauge.scphys.kyoto-u.ac.jp/~sonobe/OgreKit>, which is not found by the browser. I have found <http://sonoisa.github.com/ogrekit/About_(English).html> which seems newer, and where I found the information that
> 
>> OgreKit uses Oniguruma as its regular expression engine. Oniguruma is an excellent regular expression library developed by Mr. Kosako. It is used as the regular expression engine of Ruby Language.
> 
> So at least we know we have to go for Ruby-style regex.
> 
> 
> JMaF
> 
> 
> 
> Aquest correu electrònic i els annexos poden contenir informació confidencial o protegida legalment i està adreçat exclusivament a la persona o entitat destinatària. Si no sou el destinatari final o la persona encarregada de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest correu electrònic per error, us preguem que n’informeu al remitent i que elimineu del sistema el missatge i el material annex que pugui contenir. Gràcies per la vostra col·laboració.
> 
> Este correo electrónico y sus anexos pueden contener información confidencial o legalmente protegida y está exclusivamente dirigido a la persona o entidad destinataria. Si usted no es el destinatario final o la persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha recibido este mensaje electrónico por error, le rogamos que informe al remitente y elimine del sistema el mensaje y el material anexo que pueda contener. Gracias por su colaboración.
> 
> This email message and any documents attached to it may contain confidential or legally protected material and are intended solely for the use of the individual or organization to whom they are addressed. We remind you that if you are not the intended recipient of this email message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any of its contents. If you have received this email message by mistake, we kindly ask you to inform the sender of this and to eliminate both the message and any attachments it carries from your account. Thank you for your collaboration.
> ----------- 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 MacOSX-TeX mailing list