[TxMt] Re: [Pascal Bundle] Better Function Pattern Suggestion

Chris Thomas chris at cjack.com
Fri Mar 16 14:04:26 UTC 2007


> Can we make the Pascal bundle use the following regular expression  
> in the meta.function.prototype.pascal scope (so then we can use a  
> preference to turn off their appearance in the symbol list?
>
> \b(?i:(function|procedure))\b\s+(\w+(\.\w+)?)(\(.+?\)); (attribute| 
> forward|external)

Would this one work as well?

	'\b(?i:(function|procedure))\b\s+(\w+(\.\w+)?)(\(.*?\))?;\s*(?=(? 
i:attribute|forward|external))';

If so, I'll go ahead and commit it.

Chris



More information about the textmate mailing list