WordPress.org

Ready to get started?Download WordPress

Forums

WP-o-Matic
REGEX Rewrite fails (1 post)

  1. P. W. Erdross
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags