Fixes #830.

 * Use the right index as there is no capturing subpattern in this regexp.
 * Use a pattern delimiter that isn't so easily confused with a subpattern delimiter.
Merge pull request #832 from whatthejeff/issue_830