Merge branch '3694_hex_pattern_parsing'
commit92b7acf7bfc2e29faf7d5c1169c895155e21b319
authorAndrew Borodin <aborodin@vmail.ru>
Sun, 4 Dec 2016 06:56:20 +0000 (4 09:56 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sun, 4 Dec 2016 06:56:20 +0000 (4 09:56 +0300)
treef5a99a24ef41ee8b268e0f8588b146280f4214a8
parent4095a04a92093017e5ff12a3942929e66466b550
parenteff4d74743a577fe35736b3dd1a3a90404a1e25e
Merge branch '3694_hex_pattern_parsing'

* 3694_hex_pattern_parsing:
  (mc_search__hex_translate_to_regex): remove explicit handling of 0x prefixes.
  (mc_search__hex_translate_to_regex): rename variables.
  (mc_search__hex_translate_to_regex): avoid string duplication.
  (mc_search__hex_translate_to_regex): clean up handling of 0x prefixes.
  Fix quotes handling.
  Handle invalid characters.
  Fix trailing whitespace problem.
  Report errors to the user.
  Ticket #3694: fix hex pattern parsing.