basic/extract_word: try to explain what the various options do
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 10 Mar 2021 13:23:23 +0000 (14:23 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 11 Mar 2021 08:21:04 +0000 (09:21 +0100)
commit8723c716c795b4083372b11dd7065bca2aadbc70
tree19d163e0923833948afb004bb9f94293c85bd81f
parent5fa2da125157a1beca508792ee5d9be833c2c0cb
basic/extract_word: try to explain what the various options do

A test for stripping of escaped backslashes without any flags was explicitly
added back in 4034a06ddb82ec9868cd52496fef2f5faa25575f. So it seems to be on
purpose, though I would say that this is at least surprising and hence deserves
a comment.

In test-extract-word, add tests for standalone EXTRACT_UNESCAPE_SEPARATORS.
Only behaviour combined with EXTRACT_CUNESCAPE was tested.
src/basic/extract-word.h
src/test/test-extract-word.c