[OS X TeX] Regex

Herbert Schulz herbs at wideopenwest.com
Tue Mar 19 15:47:37 CET 2013


On Mar 19, 2013, at 9:41 AM, George Gratzer <gratzer at me.com> wrote:

> 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

Howdy,

Yet another `dialect' of regex. :-) I wonder if TextWrangle, which you can download for free, uses the full BBEdit regex.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list