No longer using a regex to match the regex

We'll check for a super basic regex string (^s/.+) and then parse it
out manually character by character.  This is going to be more
reliable than trying to capture strings via regex in javascript
with the lack of a negative lookbehind