Fix the regex for single quoted string

The string parsed from `has('mac') || has('macunix')` was `'mac') ||
has('macunix'`. This fixes the bug and only `'mac'` and `'macunix'` will
be parsed as single quoted string.
Merge pull request #2 from yous/fix-single-quoted-string

Fix the regex for single quoted string