[TxMt] Re: Conditional regex

Edoardo Galvagno edo at edog.it
Sun May 24 10:14:33 UTC 2009


> The problem is that I only want the GLN part to be colored if the line
> starts with ATOM. In your reply the complete part starting with ATOM
> up to GLN gets colored.
>


maybe you should group GLN apart this way:

^(ATOM|HETATM).*(GLN)

and target the second subexpression

Edoardo Galvagno





More information about the textmate mailing list