Fix comment formatting at line 461

Possibly a display only bug in Atom, but the multiple / nested escapes
in the single quoted string were causing it to appear in editor as if
the string was not terminated properly. Replaced with heredoc.
Fix bitwise matching

On conversion from text mate bundle, apm appears to not be escaping `^`
in the regex.