WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Redirection] Regex Bug

[Plugin: Redirection] Regex Bug

  • When I use a regex like:

    ^(.*)\.html(/.+|/?)$

    Redirection changes it to:

    ^(.*)\\.html(/\.+|/?)$

    At the first \.html I really want a literal dot and I’ve put a \ before it… And Redirection puts one \ more, breaking the Regex.

    At the second .+ Redirection puts one \ before the dot, when I want to say .+ (any character some times, but at least one)

    You can correct it, stoping to put erroneous \ at the regex?

    http://wordpress.org/extend/plugins/redirection/

  • The topic ‘[Plugin: Redirection] Regex Bug’ is closed to new replies.