in reply to Re^3: Regex in json: escaping forward slash
in thread Regex in json: escaping forward slash
Was the same asmy $regex = ".*/home/members/index.htm.*"; if (/$regex/)
Which would fail. I was wrong!if (/.*/home/members/index.htm.*/)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Regex in json: escaping forward slash
by davido (Cardinal) on Aug 22, 2012 at 23:42 UTC |