or something like that...
> Regexp.escape("\\((\t\n").gsub(/\\([\[\]\{\}\(\)\|\-\*\.\\\?\+\^\$\# fnrt])/){|s|i=$1;i=~/[fnrt]/?eval('"'+"\\#{i}"+'"'):i}=> "\\((\t\n"
Post a Comment
No comments:
Post a Comment