print('(\b\w+)\s+\1')print(r'(\b\w+)\s+\1')
Standard input is empty
(\w+)\s+ (\b\w+)\s+\1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!