solutions to Regex Golf Play Warmup: foo Anchors: ick$ Ranges: ^[a-f]+$ Backrefs: (...).*\1 Four: (.)(.\1){3} Bonus levels Subtraction: ^(x+)(x+) - \1 = \2$