Closed mrinalwadhwa closed 9 years ago
This renders the diagram properly: /^\/folder\/.+\// =~ "/folder/test/"
/^\/folder\/.+\// =~ "/folder/test/"
But this: %r{^\/folder\/.+\/} =~ /folder/test/ Throws the following error:
%r{^\/folder\/.+\/} =~ /folder/test/
ruby's %r{} regular expressions also don't need to escape /.
%r{}
/
I am seeing this issue as well
:+1:
This renders the diagram properly:
/^\/folder\/.+\// =~ "/folder/test/"
But this:
%r{^\/folder\/.+\/} =~ /folder/test/
Throws the following error: