[TxMt] Re: How To Highlight Custom Syntax

Graden Hudson ghudson at welcoa.org
Fri Nov 6 21:26:01 UTC 2009


>From reading the Introduction (which I feel I understand), it looks like
this is a great start. Thanks for pointing me in the right direction.
-- 
Graden Hudson
Graphic Designer
Wellness Council of America
9802 Nicholas Street, Ste. 315 | Omaha, NE  68114
Phone: 402.827.3590 | Fax: 402.827.3594
ghudson at welcoa.org  | www.welcoa.org



From: Rob McBroom <mailinglist0 at skurfer.com>
Reply-To: TextMate users <textmate at lists.macromates.com>
Date: Fri, 6 Nov 2009 14:38:02 -0500
To: TextMate users <textmate at lists.macromates.com>
Subject: [TxMt] Re: How To Highlight Custom Syntax

On Nov 6, 2009, at 10:57 AM, Graden Hudson wrote:

> Here's a line of code in the example that I simply do not
> understand, at all:
>  7           match = '\b(if|while|for|return)\b';
>
> I did look at the existing HTML grammar, but that did not make much
> sense to me, either. Should I start somewhere else in the manual? I
> think I'm missing some basic concepts here.

If that makes no sense to you, you'll probably want to look at the
section on Regular Expressions.

   http://manual.macromates.com/en/regular_expressions#regular_expressions

I won't lie to you. It gets much, much worse than the example above. :)

-- 
Rob McBroom
<http://www.skurfer.com/>

Don't try to tell me a thing is important to you if the whole of your
"support" entails forcing others to spend time and money on it.


_______________________________________________
textmate mailing list
textmate at lists.macromates.com
http://lists.macromates.com/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20091106/da6d1d0b/attachment.html>


More information about the textmate mailing list