protected function get_calculated_regexp() {
        $regexp = '/\$@' . $this->linkname;
        foreach ($this->mappings as $key => $value) {
            $regexp .= '\*(\d+)';
        }
        $regexp .= '@\$/';
        return $regexp;
    }
protected function get_calculated_regexp() {
        $regexp = '/\$@' . $this->linkname;
        foreach ($this->mappings as $key => $value) {
            $regexp .= '\*(\d+)';
        }
        $regexp .= '@\$/';
        return $regexp;
    }
protected function get_calculated_regexp ( ) { $ regexp = '/\$@' . $ this -> linkname ; foreach ( $ this -> mappings as $ key => $ value ) { $ regexp .= '\*(\d+)' ; } $ regexp .= '@\$/' ; return $ regexp ; }
based on rule definition, build the regular expression to execute on decode
based on rule definition build the regular expression to execute on decode