From 09fc070d7b2e5b36445393932a23849f388c4ac6 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 14 Jun 2021 14:34:54 +0100 Subject: [PATCH] 1) Grammatical improvement in wdmatch 2) added extra example to match the improve test in go-tests repo --- subjects/wdmatch/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subjects/wdmatch/README.md b/subjects/wdmatch/README.md index 9fa242cec..88e5dd7a3 100644 --- a/subjects/wdmatch/README.md +++ b/subjects/wdmatch/README.md @@ -2,7 +2,7 @@ ### Instructions -Write a program that takes two `string` and checks whether it is possible to write the first `string` with characters from the second `string`, while respecting the order in which these characters appear in the second `string`. +Write a program that takes two `string` and checks whether it is possible to write the first `string` with characters from the second `string`. This rewrite must respectSS the order in which these characters appear in the second `string`. If it is possible, the program displays the `string` followed by a newline (`'\n'`), otherwise it simply displays nothing. @@ -11,6 +11,8 @@ If the number of arguments is different from 2, the program displays nothing. ### Usage ```console +$ go run . 123 123 +123 $ go run . faya fgvvfdxcacpolhyghbreda faya $ go run . faya fgvvfdxcacpolhyghbred