First thing we’ve started looking into during Programming A to Z class was regular expressions. I haven’t done anything with them before, so it’s a nice new way to look at code from a bit different perspective.

For the first homework we had to do a simple word mashup exercise. My inspiration was a game I used to play with my mom and my sister many years ago. We had a secret language, where in front of every word we would add a prefix ver and say it so fast, that even we would get lost at most times.
The below exercise is a simple example of how it might work in a written form.

See code running:

Leave a Reply

Your email address will not be published. Required fields are marked *