Menu

Problems with complicated regexes in jumphost

Help
2014-11-25
2015-02-02
  • Petri Niemi

    Petri Niemi - 2014-11-25

    I'm having some problems with complicated regexes in jumphost. I'm trying to rename file with .moved postfix after transfer and excluding already transfered files for future transfers. I guess that running SSH ruins the regexes.

    For example regexes below

    ;;Exclude files that ends with .moved
    file_spec=^.+$(?<!\.moved)
    ;;Replace end without .moved or 1..n times .moved at the end
    source_replacing=(?:(?:\.moved)+$|$(?<!\.moved))
    ;;By using .moved postfix
    source_replacement=.moved

    In jump host it looks like
    file_spec=^.+

     

    Last edit: Petri Niemi 2014-11-25
  • Oliver Haufe

    Oliver Haufe - 2015-02-02

    Hello Petri,
    thank you for the hint.
    Your problem is similar to https://change.sos-berlin.com/browse/JADE-238 which is already fixed for the next release.

    With regards,
    Oliver

     

Log in to post a comment.

MongoDB Logo MongoDB