Tom Copeland's Recent Posts

RSS Feeds

« Who owns what RubyGem on RubyForge? | Main | RubyForge now on PostgreSQL 8.3 »

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451d3c069e2010536d39e3a970c

Listed below are links to weblogs that reference Sphinx, Riddle, and escaping special characters:

Comments

You missed the : character

@brian, thanks! Added that and ")" as well.

Hy Thanks For such a nice post

But i face problem

A="A' rtyee"
rt= A.gsub(/(:|@|-|!|~|&|'|\(|\)|\\|\|)/) { "\\#{$1}" }
rt= "A\\' subrtr"

it is adding two backtrace instead of one , can u help on this

The comments to this entry are closed.