Skip to content

Commit c70e61c

Browse files
committed
Regular Expressions in Python: re.search Demonstration
1 parent e2fa9ea commit c70e61c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Regular Expressions in Python: `re.search` Demonstration
2+
3+
This program demonstrates the usage of the `re.search()` function in Python's `re` module for regular expression matching. It explores various regex patterns and their behavior when searching for matches in different strings.
4+
5+
### regex_search.py
6+
7+
This program demonstrates the use of the `re.search()` function in Python to perform pattern matching at the beginning of a string using regular expressions (regex). It provides multiple examples showing how `re.match` behaves under various scenarios such as matching characters, digits, case-insensitive strings, and more.
8+
9+
10+
---
11+
12+
13+
14+

0 commit comments

Comments
 (0)