Fix quotes handling.
commit7be9334e45fa510b17b770ffabe4f5a1e5bef248
authorMooffie <mooffie@gmail.com>
Sun, 25 Sep 2016 17:57:12 +0000 (25 20:57 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sun, 4 Dec 2016 06:55:27 +0000 (4 09:55 +0300)
treed11c899a2d6e54a970f9112d3733fdfa83e935a6
parent64e6ccef7f2a6c4627021086da93bb2322df2970
Fix quotes handling.

Note: considering that this feature hasn't worked, we may consider removing it
entirely or partially (e.g., escaping) in order to simplify the code, as nobody
has grown used to it. It seems, based on the "hex mode" mentioned in the manual
page, that in the past there was no "normal" search in hex mode, and quoted
strings were the only easy way to look for text. This is no longer the case
nowadays.

Note: the characters in the quoted string are copied out as-is to the regexp.
No regexp-quoting is currently done. We may want to revisit this issue when we
work on ticket #3695.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/search/hex.c
tests/lib/search/hex_translate_to_regex.c