WordPress.org

Support

Support » Plugins and Hacks » WP-o-Matic » REGEX Rewrite fails

REGEX Rewrite fails

  • Hi, first thanks for this plugin, it is really one of the usable rss collectors, very well thought out, flexible and still easy, great work!

    However, I have a problem with inserting a regex for the rewrite feature, certainly some escaping issue – but it is a really simple one:

    $pattern = '/<\/div>(.*)/is';
    $replace = '</div>';

    I am curious about what wordpress forums will transform this too 🙂 – hey, looks good here, but did not work in title…

    I get only this error:

    The following errors have been encountered:
    
        Rewrites
            There's an error with the supplied RegEx expression

    Is there a special trick how I could let your plugin use this regex? I see that you get the $origin data from db, is it ok to put the exact string into the db?

    Thanks!

    http://wordpress.org/extend/plugins/wp-o-matic/

  • The topic ‘REGEX Rewrite fails’ is closed to new replies.
Skip to toolbar