https://github.com/bonnie/udemy-regex
Lecture examples and code exercises for "Regular Expressions for Beginners and Beyond! With Exercises"
https://github.com/bonnie/udemy-regex
Last synced: 7 months ago
JSON representation
Lecture examples and code exercises for "Regular Expressions for Beginners and Beyond! With Exercises"
- Host: GitHub
- URL: https://github.com/bonnie/udemy-regex
- Owner: bonnie
- License: agpl-3.0
- Created: 2020-10-19T21:17:45.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-07T20:48:02.000Z (about 1 year ago)
- Last Synced: 2025-03-04T07:40:46.347Z (7 months ago)
- Language: Python
- Homepage: https://www.udemy.com/course/regular-expressions-for-beginners-and-beyond-with-exercises/?couponCode=REGEX-GITHUB
- Size: 267 KB
- Stars: 56
- Watchers: 6
- Forks: 23
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Udemy Regular Expression Course Examples
### Code to accompany the Udemy course [Regular Expressions for Beginners and Beyond! With Exercises](https://www.udemy.com/course/regular-expressions-for-beginners-and-beyond-with-exercises/?couponCode=REGEX-GITHUB)
# Exercises
Exercises are meant to be done with Node 12.0.0+ or Python 3.8+.
# Lecture Examples
Lecture examples are meant to be run with Node 12.0.0+ or Python 3.8+.
# Tests
## JavaScript
Run `npm test` in any directory with a `package.json` file.
**Note**: This will run the tests against the `evaluate.js` files, which already have the answers filled in. Interactive exercises with tests are meant to be completed via the Udemy platform. However, if you would like to use the tests against your own solutions, here's what you can do:1. Fill out the answers in the `blank.js` files.
2. Type the keyword `export` before each `const` in the `blank.js` file (so each `const` should be replaced with `export const`).
3. Change the import statement in `evaluate.js` to import from `./blank.js` instead of from `.`.## Python
Run `./run_tests` where available.
**Note**: you may need to update the file to be executable (`chmod +x run_tests`) first.