From d94c1c3f4f4720a0e6f8c0849020943ffd36eb31 Mon Sep 17 00:00:00 2001 From: davhojt Date: Sat, 3 Dec 2022 15:30:04 +0200 Subject: [PATCH] docs(go-reloaded): add list of valid vowels --- subjects/go-reloaded/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/subjects/go-reloaded/README.md b/subjects/go-reloaded/README.md index dcfb21a28..9f54c3658 100644 --- a/subjects/go-reloaded/README.md +++ b/subjects/go-reloaded/README.md @@ -30,8 +30,7 @@ The tool you are about to build will receive as arguments the name of a file con - Except if there are groups of punctuation like: `...` or `!?`. In this case the program should format the text as in the following example: "I was thinking ... You were right" -> "I was thinking... You were right". - The punctuation mark `'` will always be found with another instance of it and they should be placed to the right and left of the word in the middle of them, without any spaces. (Ex: "I am exactly how they describe me: ' awesome '" -> "I am exactly how they describe me: 'awesome'") - If there are more than one word between the two `' '` marks, the program should place the marks next to the corresponding words (Ex: "As Elton John said: ' I am the most well-known homosexual in the world '" -> "As Elton John said: 'I am the most well-known homosexual in the world'") -- Every instance of `a` should be turned into `an` if the next word begins with a vowel or a `h`. (Ex: "There it was. A amazing rock!" -> "There it was. An amazing rock!"). - +- Every instance of `a` should be turned into `an` if the next word begins with a vowel (`a`, `e`, `i`, `o`, `u`) or a `h`. (Ex: "There it was. A amazing rock!" -> "There it was. An amazing rock!"). ### Allowed packages - [Standard Go](https://golang.org/pkg/) packages are allowed.