> (regexp-replace "B" "BBB" "A") "ABB" > (regexp-replace* "B" "BBB" "A") "AAA"
Notice the star. 2015-09-16 19:21 GMT+02:00 <sagyo12341...@gmail.com>: > Hi, > > I aim to write a racket script like a bash. > > $ echo "BBB" | sed -r 's/A/B/g' > BBB > > In racket regexp module, I cannot find the solution. > Please help me. > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.