Factor, 50 bytes
[ " "split [ 2 cut* reverse append ] map " "join ]
[ " "split [ 2 cut* reverse append ] map " "join ]
Factor's regular expressions don't support backreferences for philosophical reasons, so here's (possibly) the next best thing. It splits the input on spaces, applies a quotation to each word, and joins them with a space into a single string. Here's how the mapping quotation works:
! "Flipping"
2 cut* ! "Flippi" "ng"
reverse ! "Flippi" "gn"
append ! "Flippign"
Factor, 50 bytes
[ " "split [ 2 cut* reverse append ] map " "join ]
Factor's regular expressions don't support backreferences for philosophical reasons, so here's (possibly) the next best thing. It splits the input on spaces, applies a quotation to each word, and joins them with a space into a single string. Here's how the mapping quotation works:
! "Flipping"
2 cut* ! "Flippi" "ng"
reverse ! "Flippi" "gn"
append ! "Flippign"
Factor, 50 bytes
[ " "split [ 2 cut* reverse append ] map " "join ]
Factor's regular expressions don't support backreferences for philosophical reasons, so here's (possibly) the next best thing. It splits the input on spaces, applies a quotation to each word, and joins them with a space into a single string. Here's how the mapping quotation works:
! "Flipping"
2 cut* ! "Flippi" "ng"
reverse ! "Flippi" "gn"
append ! "Flippign"
Factor, 50 bytes
[ " "split [ 2 cut* reverse append ] map " "join ]
Factor's regular expressions don't support backreferences for philosophical reasons, so here's (possibly) the next best thing. It splits the input on spaces, applies a quotation to each word, and joins them with a space into a single string. Here's how the mapping quotation works:
! "Flipping"
2 cut* ! "Flippi" "ng"
reverse ! "Flippi" "gn"
append ! "Flippign"