On May 5, 9:58 am, NJChoo <[email protected]> wrote:
> Hello,
>
> I was wondering a way to escape underscore the following code:
>
>     query_string = param_data['query_string'].gsub(/_/,'\\_')
>     query_string = param_data['query_string'].gsub(/%/,'\%')

  query_string = param_data['query_string'].gsub(/_/,'\\_').gsub(/%/,'\
%')

Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to