import re print('"{}"'.format(re.sub(r'(?<=\s)ff','fast-forward',' ff')))
Standard input is empty
" fast-forward"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!