First version of regexmagic plugin