[TxMt] Snippet Regex
Aaron Clinger
aaron at aaronclinger.com
Sun Apr 2 17:05:59 UTC 2006
All,
Sorry to bother the list with this stupid question, I know nothing
of RegEx and have been trying to grasp it, and the way it works in
TextMate. Basically for my needs all I need to figure out is how to do
if statements. Here is what I am trying to do:
Snippet:
function():$1 {
}
if $1 != Void, then put in a return statement like this:
function():Array {
return
}
Which I can add the variable name to return later.
Any help and I will be extremely grateful. Thanks for your time.
best,
Aaron Clinger
http://aaronclinger.com
More information about the textmate
mailing list