This project aims to implement a basic regex engine in Python. Regular expressions (regex) are a powerful tool for pattern matching and text manipulation. This engine will provide a simplified version of regex functionality, focusing on core concepts such as character matching, wildcards, and repetition.
- Character matching: Match specific characters in a string.
- Wildcards: Match any character.
- Repetition: Match characters or patterns multiple times using quantifiers like '*', '+', and '?'.
- Alternation: Match either/or patterns.
- Clone the repository:
git clone https://github.com/yourusername/regex-engine.git
Navigate to the project directory:
cd regex-engineRun the regex_engine.py script with Python:
python3 regex_engine.pyContributing
Contributions are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request. License
This project is licensed under the MIT License. See the LICENSE file for details.