Replicate TextPattern version