Agent Ransack: How would I for text that includes quotes and spaces

0 votes

I just update to the latest release of Agent Ransack.

I have used Agent Ransack for about 3 years and have never been able to figure out how to search for specific strings that contain multiple words and special characters - such as:

position = "fixed"

I can get by with regular expression in JavaScript and PHP, but Agent Ransack has me stumped.


asked Jun 23, 2017 by SimonT (30 points)

1 Answer

0 votes

Use quotes to mark a specific phrase and escape any quotes that may be in the phrase, e.g.

Containing Text: "position = \"fixed\""
answered Jun 23, 2017 by dave (55,690 points)