From 1eec3d185efb128d8795e1da0944d0dd804d16db Mon Sep 17 00:00:00 2001 From: jagdish-15 Date: Wed, 6 Nov 2024 18:34:53 +0530 Subject: [PATCH] Update Squeaky Clean instructions (#2857) This is to make the substitutions in task 3 clear. The table in the linked Wiki page is ambiguous with some of the substitutions. --- exercises/concept/squeaky-clean/.docs/instructions.md | 5 ++++- exercises/concept/squeaky-clean/.meta/config.json | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/exercises/concept/squeaky-clean/.docs/instructions.md b/exercises/concept/squeaky-clean/.docs/instructions.md index 5b092e56a..6b0419d2f 100644 --- a/exercises/concept/squeaky-clean/.docs/instructions.md +++ b/exercises/concept/squeaky-clean/.docs/instructions.md @@ -29,11 +29,14 @@ SqueakyClean.clean("a-bc"); ## 3. Convert leetspeak to normal text Modify the (_static_) `SqueakyClean.clean()` method to convert [leetspeak][leet-speak] to normal text. -For simplicity we will only be using `4`, `3`, `0`, `1` and `7` from the table. + +For simplicity we will only be replacing `4`, `3`, `0`, `1` and `7` with `a`, `e`, `o`, `l`, and `t`, respectively. ```java SqueakyClean.clean("H3ll0 W0rld"); // => "Hello_World" +SqueakyClean.clean("4 73s7"); +// => "a_test" ``` ## 4. Omit characters that are not letters diff --git a/exercises/concept/squeaky-clean/.meta/config.json b/exercises/concept/squeaky-clean/.meta/config.json index 0750fd7af..b8380b192 100644 --- a/exercises/concept/squeaky-clean/.meta/config.json +++ b/exercises/concept/squeaky-clean/.meta/config.json @@ -3,8 +3,10 @@ "ystromm" ], "contributors": [ - "sanderploegsma", - "manumafe98" + "jagdish-15", + "manumafe98", + "mrDonoghue", + "sanderploegsma" ], "files": { "solution": [