[TxMt] Re: Conditional regex

Oliver Taylor olivertaylor at me.com
Fri May 22 19:45:59 UTC 2009


> Dijk van Marc wrote:

> In the language description I would like to use a regular expression
> construct that matched 'GLN' only if the line starts with either
> 'ATOM' or 'HETATM'.  This seams like a conditional regular expression
> but my attempts to implement it at such have failed so far.


See § 20.3 of TextMate's help.



More information about the textmate mailing list