Skip to content

Commit 15d582c

Browse files
corrected typo, simpler solution for an exercise
1 parent b2b3fc9 commit 15d582c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ For the web version of the book, visit https://learnbyexample.github.io/learn_gn
4646

4747
⚠️ ⚠️ Please DO NOT submit pull requests. Main reason being any modification requires changes in multiple places.
4848

49-
I would highly appreciate if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.
49+
I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.
5050

5151
You can reach me via:
5252

exercises/Exercise_solutions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ $ echo "$s" | sed -E 's/\b([0-9]+)\1+\b/\1/g'
533533
534534
```bash
535535
$ ip='wow:Good:2_two.five: hi-2 bye kite.777:water.'
536-
$ echo "$ip" | sed -E 's/(\w+)[:.](\w+[:.])+/\1/g'
536+
$ echo "$ip" | sed -E 's/([:.]\w*)+//g'
537537
wow hi-2 bye kite
538538
```
539539

0 commit comments

Comments
 (0)