WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
Regex Bug (1 post)

  1. rfrancorj
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags