From 88f67034d1b5175558bae6c49e852832a489d534 Mon Sep 17 00:00:00 2001 From: Christopher Fremond <34804391+Frenchris@users.noreply.github.com> Date: Fri, 13 Mar 2020 00:47:39 +0000 Subject: [PATCH 1/2] Update grouping.en.md --- subjects/grouping.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/grouping.en.md b/subjects/grouping.en.md index 0cb783c0..c10653a0 100644 --- a/subjects/grouping.en.md +++ b/subjects/grouping.en.md @@ -6,7 +6,7 @@ Write a program that receives two strings and replicates the use of brackets in The program should handle the "`|`" operator, that searches for both strings on each side of the operator. -The output of the program should be the results of the regular expression by order of appearence in the string, being themselves identified by a number. +The output of the program should be the results of the regular expression by order of appearance in the string, being themselves identified by a number. In case the regular expression is not valid, the last argument is empty or there are no matches the program returns a newline ("`\n`"). From 020b98d1bcc90b8da3ed9684860603e4c89afa83 Mon Sep 17 00:00:00 2001 From: Christopher Fremond <34804391+Frenchris@users.noreply.github.com> Date: Fri, 13 Mar 2020 01:06:45 +0000 Subject: [PATCH 2/2] Update grouping.en.md --- subjects/grouping.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/grouping.en.md b/subjects/grouping.en.md index c10653a0..4d83c442 100644 --- a/subjects/grouping.en.md +++ b/subjects/grouping.en.md @@ -20,7 +20,7 @@ student@ubuntu:~/[[ROOT]]/test$ ./regbrackets "(a)" "I'm heavy, jumpsuit is on s 1: heavy 2: steady 3: heavy -student@ubuntu:~/[[ROOT]]/test$ ./regbrackets "(e|n)" "I currently have 4 windows open up… and I don’t know why." +student@ubuntu:~/[[ROOT]]/test$ ./regbrackets "(e|n)" "I currently have 4 windows opened up… and I don’t know why." 1: currently 2: currently 3: have