------art_974_21414723.1327197244403
Content-Type: multipart/alternative; 
	boundary---art_975_12425914.1327197244403"

------art_975_12425914.1327197244403
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Something like:
   
   key  ixm"

   x  tr.reverse_index('/')

   v  tr[x+1..-1]

   o  .characters.inject(0){ |s,c| b  ey.index(c); b ? 2**b : 0 }

   Regexp.new(str[1...x], o)

Or

  eval "%r#{str}"

If safety is a concern you can get Pretty Good(tm) safety by wrapping it in 
a threaded $SAFE@ Too bad Ruby doesn't support %R, then it would 
perfectly safe.



------art_975_12425914.1327197244403
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

Something like:<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; key  ixm"<br><br>&nbsp;&nbsp; x  tr.reverse_index('/')<br><br>&nbsp;&nbsp; v  tr[x+1..-1]<br><br>&nbsp;&nbsp; o  .characters.inject(0){ |s,c| b  ey.index(c); b ? 2**b : 0 }<br><br>&nbsp;&nbsp; Regexp.new(str[1...x], o)<br><br>Or<br><br>&nbsp; eval "%r#{str}"<br><br>If safety is a concern you can get Pretty Good(tm) safety by wrapping it in a threaded $SAFE@ Too bad Ruby doesn't support %R, then it would perfectly safe.<br><br><br>
------art_975_12425914.1327197244403--

------art_974_21414723.1327197244403--