[TxMt] a regexp test script (link)

Eric Hsu erichsu at math.sfsu.edu
Mon Apr 4 17:57:17 UTC 2005


Hi David,

I tried your script and got an error:

/Users/erichsu/Library/Application Support/TextMate/Bundles/Regular 
Expressions.tmbundle/Tools/rx_helper.rb:62:in `prepare_rx': undefined 
method `match' for #<String:0xc400c> (NameError)
	from /Users/erichsu/Library/Application 
Support/TextMate/Bundles/Regular 
Expressions.tmbundle/Tools/rx_helper.rb:45:in `initialize'
	from /Users/erichsu/Library/Application 
Support/TextMate/Bundles/Regular 
Expressions.tmbundle/Tools/rx_helper.rb:114:in `new'
	from /Users/erichsu/Library/Application 
Support/TextMate/Bundles/Regular 
Expressions.tmbundle/Tools/rx_helper.rb:114

when running on your sample text.

Any thoughts? I want to put this into the svn repository when it's 
working. If it matters, I'm running:

ruby 1.6.8 (2002-12-24) [powerpc-darwin7.0] which lives at /usr/bin/ruby

best, Eric
-- 
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu at math.sfsu.edu
http://math.sfsu.edu/hsu



More information about the textmate mailing list