Basic regexp support
Have replacement[0] be /REGEXP HERE/ to use regexp quirking. Anything else will quirk as simple replacements, so backwards compatibility is virtually guaranteed (also users won't have to know regexp).