[FIX] fix regex

- the regex incorrectly matched any of the following characters
  scan=nativeID=" instead of either matching to 'scan=' or to
  'nativeID="' exclusively.
[TEST] test regexes
Merge pull request #15 from hroest/regex_fix

Regex fix