Regex | Forgettable Regex

To Start with:

re.compile(r'(littleshit)').sub( r'you\1', 'heylittleshit')

For forgot the \# expression in regex group, I wasted for about half an hour to look through the regex syntax. And finally, I remembered I’ve used it before for several times.

Why not to Summarize those lts!

1. Basic