resolves #651 escape forward slash in regexp

- escape forward slash in regexp for compatibility with Rhino on JDK6
Merge pull request #653 from mojavelinux/issue-651-opal_0_6

resolves #651 escape forward slash in regexp