From b1327063a47a2cbef81d69e1c1c1b97fa6de0b08 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Mon, 20 Mar 2023 19:54:46 +0100 Subject: [PATCH] docs: update tests/examples --- test/test.sh | 6 ++++++ test/test_multiline_pattern.sh | 6 +++++- test/test_multiline_pattern2.sh | 17 +++++++++++++++++ test/test_multiline_replacement.sh | 9 +++++++++ 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100755 test/test_multiline_pattern2.sh diff --git a/test/test.sh b/test/test.sh index 0daddb9..18231c6 100755 --- a/test/test.sh +++ b/test/test.sh @@ -10,3 +10,9 @@ repl='Exec = /bin/foo BAR BAZ' string="$(printf '%s' "${string}" | ../src/py_regex_replace/main.py -p "${pattern}" -r "${repl}" -c 1)" printf 'RESULT>>>\n%s\n<<>> +# alpha = a +# beta = b +# Exec = /bin/foo BAR BAZ +# end = EOF +# <<>>\n%s\n<<>> +# alpha = a +# beta = EOF +# <<>>\n%s\n<<>> +# alpha = a +# beta = ? +# end = EOF +# <<>>\n%s\n<<>> +# alpha = a +# beta = b +# Exec = foo bar baz +# +# o.O +# +# end = EOF +# <<