https://github.com/programmer-ke/simpleparser
A simple regexp example in Python
https://github.com/programmer-ke/simpleparser
Last synced: 8 months ago
JSON representation
A simple regexp example in Python
- Host: GitHub
- URL: https://github.com/programmer-ke/simpleparser
- Owner: programmer-ke
- Created: 2011-11-05T12:01:03.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-11-05T12:03:06.000Z (over 14 years ago)
- Last Synced: 2025-01-03T21:43:26.694Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
A simple Regular Expressions example in Python
It parses the text file, which contains downloaded HTML from: http://www.enotes.com/importance-being-text/act-i which is Act 1 of The Importance of Being Earnest by Oscar Wilde.
It finds the character with:
- the most number of lines
- the most number of words
- the most number of exclamations
- the most number of questions.