It should work. This case checks for lines that are resources i.e. starts with "/". It doesn't check for "/" in the middle of the line.