[TxMt] RegEx Substitution

Fritz Anderson fritza at manoverboard.org
Wed Aug 23 17:59:56 UTC 2006


Suppose I have a column of symbols like this:

StoreID		
StoreKey		
ApplicationID
TerminalID 	
ReferenceNumber
CashierNumber
TransactionAmount
SalesTaxAmount
Currency 		
AccountNumber

I want to produce this:

@"StoreID	",
@"StoreKey",	
@"ApplicationID",
@"TerminalID",
@"ReferenceNumber",
@"CashierNumber",
@"TransactionAmount",
@"SalesTaxAmount",
@"Currency",
@"AccountNumber",

In Xcode, I'd search for the regular expression
	^(\w+)
and replace it with
	@"\1",

TextMate appears not to support RE substitution in the replacement  
field. Is this the case? Are there thoughts on when that might become  
the case?

Is there some TextMate-y way to do what I want in the mean time?

	-- F




More information about the textmate mailing list