From 24d61abd6ad59b5ddb421146e107552c727dbab2 Mon Sep 17 00:00:00 2001 From: Hamza elkhatri <40549481+Hamzaelkhatri@users.noreply.github.com> Date: Tue, 28 Jun 2022 21:10:36 +0100 Subject: [PATCH] Update README.md --- subjects/cameltosnakecase/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/cameltosnakecase/README.md b/subjects/cameltosnakecase/README.md index afb21bcb..c6ab54f0 100644 --- a/subjects/cameltosnakecase/README.md +++ b/subjects/cameltosnakecase/README.md @@ -3,7 +3,7 @@ ### Instructions Write a function that converts a string from `CamelCase` to `snake_case`. -Camel case is the practice of writing phrases without spaces or punctuation, it indicates the separation of words with a single capitalized letter. Snake case is a style of writing in which each space is replaced by an underscore (_) character. +Camel case is the practice of writing phrases without spaces or punctuation, it indicates the separation of two words with a single capitalized letter. Snake case is a style of writing in which each space is replaced by an underscore (_) character. Here are some rules for you to follow: @@ -14,7 +14,7 @@ Here are some rules for you to follow: Basic `CamelCase` Capitalization Rules: - The first letter must be capitalized. -- The word must not have two capitalized letters together (CamelCAse) not end with a capitalized letter (CamelCasE). +- The word must not have two capitalized letters together (CamelCAse) nor end with a capitalized letter (CamelCasE). - No numbers or punctuations are allowed in the word at any place (CamelCase1more).