2015年9月17日木曜日 2時26分58秒 UTC+9 Jens Axel Søgaard:
> > (regexp-replace "B" "BBB" "A")
> "ABB"
> > (regexp-replace* "B" "BBB" "A")
> "AAA"
>
>
> Notice the star.
>
>
>
>
> 2015-09-16 19:21 GMT+02:00 :
> Hi,
>
>
>
> I aim to write a racket script like a bash.
>
>
>
> $
> (regexp-replace "B" "BBB" "A")
"ABB"
> (regexp-replace* "B" "BBB" "A")
"AAA"
Notice the star.
2015-09-16 19:21 GMT+02:00 :
> 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
2 matches
Mail list logo