Escaping open paren in agent ransack does not work

1

I'm trying to search for the text "names(" (without quotes) in a folder of code. I've tried "names(" but that returns no results where they should be results. Not sure how to deal with this.

SFun28

Posted 2011-11-05T17:51:27.923

Reputation: 389

Answers

2

Click on options, select Regular Expressions for your search string,

Then use this:

string\(

\( will escape your open paren.

Nathan

Posted 2011-11-05T17:51:27.923

Reputation: 36