Archive | September 2014

Regular Expression Fractals

Regular Expressions were posted as a challenge on the daily programmer subreddit the other day and I decided to give it a go making my own. You can see my implementation on GitHub (requires PNGLib)

31BAR13BAR24BAR42

31|13|24|42

FOURDOTTWODOTSTAR1

4.2.*1

3DOTSTAR2DOTSTAR1DOTSTAR2

3.*2.*1.*2

3DOTSTAR1

3.*1

31OR4

31|4

Advertisements