[TextMate] Syntax Highlighting regex question
Ollivier Robert
roberto+textmate at keltia.freenix.fr
Wed Oct 6 23:02:49 UTC 2004
According to James Spahr:
> A regular expression which is used to identify the portion of text to
> be styled. Example: "\\<(true|false)\\>".
>
> How is this different from: "(true|false)"
>
> in other words what are the < and > doing in the regex?
Word boundaries I'd say, that way you highlight
foo = true
but not
bar = sad_but_true
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto at keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.5.0: Wed May 12 16:58:24 PDT 2004
More information about the textmate
mailing list