mirror of
https://github.com/Asabeneh/30-Days-Of-Python.git
synced 2026-06-03 21:02:42 +08:00
Merge pull request #219 from dbuffel/patch-12
Update 18_regular_expressions.md
This commit is contained in:
commit
26e37272f5
@ -106,7 +106,7 @@ The string does not string with *I like to teach*, therefore there was no match
|
||||
|
||||
```py
|
||||
# syntax
|
||||
re.match(substring, string, re.I)
|
||||
re.search(substring, string, re.I)
|
||||
# substring is a pattern, string is the text we look for a pattern , re.I is case ignore flag
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user