# RegExp Fun #1 - When I miss few days of gym
## Disclaimer
The background story of this Kata is 100% fiction.  Any resemblance to real people or real events is **nothing more than a coincidence** and should be regarded as such.
## Background Story
You are a person who loves to go to the gym everyday with the squad of people that you've known since early childhood.  However, you recently contracted a sickness that forced you to stay at home for over a week.  As you see your body getting weaker and weaker every day and as you see your biceps and triceps disappearing, you can't help but lay in bed and cry.  You're usually an optimistic person but this time negative thoughts come to your head ... 
![When I miss few days of gym](https://pics.onsizzle.com/Instagram-faf8c9.png)
## Task
As can be seen from the funny image above (or am I the only person to find the picture above hilarious?) there is lots of slang.  Your task is to define a function ```gymSlang``` which accepts a string argument and does the following:
1. Replace *all* instances of ```"probably"``` to ```"prolly"```
2. Replace *all* instances of ```"i am"``` to ```"i'm"```
3. Replace *all* instances of ```"instagram"``` to ```"insta"```
4. Replace *all* instances of ```"do not"``` to ```"don't"```
5. Replace *all* instances of ```"going to"``` to ```"gonna"```
6. Replace *all* instances of ```"combination"``` to ```"combo"```
Your replacement regexes **should be case-sensitive**, only replacing the words above with slang if the detected pattern is in **lowercase**.  However, please note that apart from 100% lowercase matches, you will **also have to replace matches that are correctly capitalized** (e.g. ```"Probably" => "Prolly"``` or ```"Instagram" => "Insta"```).
Finally, your code will be tested to make sure that you have used **RegExp** replace in your code.
Enjoy :D
import functools 
import re
gym_slang = lambda phrase: \
    functools.reduce \
    (
        lambda s, u: re.sub(*u, s),
        (
            ('(?<=[Pp])(robably)', 'rolly'),
            ('(?<=[Ii])\sam', '\'m'),
            ('(?<=[Ii])nstagram', 'nsta'),
            ('(?<=[Dd])o\snot', 'on\'t'),
            ('(?<=[Gg])oing\sto', 'onna'),
            ('(?<=[Cc])ombination', 'ombo')
        ),
        phrase
    )
import functools 
import re
gym_slang = lambda phrase: \
    functools.reduce \
    (
        lambda s, u: re.sub(*u, s),
        (
            ('(?<=[Pp])(robably)', 'rolly'),
            ('(?<=[Ii])\sam', '\'m'),
            ('(?<=[Ii])nstagram', 'nsta'),
            ('(?<=[Dd])o\snot', 'on\'t'),
            ('(?<=[Gg])oing\sto', 'onna'),
            ('(?<=[Cc])ombination', 'ombo')
        ),
        phrase
    )