Skip to content

Commit

Permalink
Exception Handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Asabeneh committed Jul 9, 2020
1 parent 18d170e commit 1757744
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
1 change: 0 additions & 1 deletion 17_Day_Exception_handling/17_exception_handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
- [Zip](#zip)
- [Exercises: Day 17](#exercises-day-17)


# 📘 Day 17

## Exception Handling
Expand Down
25 changes: 11 additions & 14 deletions 18_Day_Regular_expressions/18_regular_expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,29 @@
</div>
</div>

[<< Day 17](../17_Day/17_exception_handling.md) | [Day 19>>](../19_Day/19_file_handling.md)
[<< Day 17](../17_Day_Exception_handling/17_exception_handling.md) | [Day 19>>](../19_Day_File_handling/19_file_handling.md)

![30DaysOfPython](../images/[email protected])

- [📘 Day 18](#%f0%9f%93%98-day-18)
- [Regular Expressions](#regular-expression)
- [The *re* Module](#The-re-module)
- [📘 Day 18](#-day-18)
- [Regular Expressions](#regular-expressions)
- [The *re* Module](#the-re-module)
- [Functions in *re* Module](#functions-in-re-module)
- [Match](#match)
- [Search](#search)
- [Searching for All Matches Using *findall*](#searching-for-all-matches-using-findall)
- [Replacing a Substring](#replacing-a-Substring)
- [Replacing a Substring](#replacing-a-substring)
- [Splitting Text Using RegEx Split](#splitting-text-using-regex-split)
- [Writing RegEx Patterns](#writing-regex-patterns)
- [Square Brackets](#square-brackets)
- [Square Bracket](#square-bracket)
- [Escape character(\\) in RegEx](#escape-character-in-regex)
- [One or more times(+)](#one-or-more-times)
- [Period(.)](#period)
- [Zero or more times(\*)](#zero-or-more-times)
- [Zero or one times(?)](#zero-or-one-times)
- [Quantifiers in RegEx](#quantifiers-in-regex)
- [Cart ^](#cart)
- [💻 Exercises: Day 18](#%f0%9f%92%bb-exercises-day-18)
- [Zero or one time(?)](#zero-or-one-time)
- [Quantifier in RegEx](#quantifier-in-regex)
- [Cart ^](#cart-)
- [💻 Exercises: Day 18](#-exercises-day-18)


# 📘 Day 18
Expand Down Expand Up @@ -375,7 +375,6 @@ matches = re.findall(regex_pattern, txt)
print(matches) # ['6,', '2019.']
```


## 💻 Exercises: Day 18

1. What is the most frequent word in the following paragraph?
Expand Down Expand Up @@ -434,8 +433,6 @@ distance = 12
print(most_frequent_words(cleaned_text)) # [(3, 'I'), (2, 'teaching'), (2, 'teacher')]
```



🎉 CONGRATULATIONS ! 🎉

[<< Day 17](../17_Day/17_exception_handling.md) | [Day 19>>](../19_Day/19_file_handling.md)
[<< Day 17](../17_Day_Exception_handling/17_exception_handling.md) | [Day 19>>](../19_Day_File_handling/19_file_handling.md)
File renamed without changes.

0 comments on commit 1757744

Please sign in to comment.