resolve #651 escape forward slash in regexp

- escape forward slash in regexp for compatibility with Rhino on JDK6