Chuck has lost count of how many asses he has kicked...

Chuck stopped counting at 100,000 because he prefers to kick things in the face instead of counting. That's just who he is.

To stop having to count like a mere mortal chuck developed his own special code using the hairs on his beard. You do not need to know the details of how it works, you simply need to know that the format is as follows: 'A8A8A8A8A8.-A%8.88.'

In Chuck's code, 'A' can be any capital letter and '8' can be any number 0-9 and any %, - or . symbols must not be changed.

Your task, to stop Chuck beating your ass with his little finger, is to use regex to verify if the number is a genuine Chuck score. If not it's probably some crap made up by his nemesis Bruce Lee. Return true if the provided count passes, and false if it does not.  

```Javascript
Example:
     'A8A8A8A8A8.-A%8.88.' <- don't forget final full stop :D\n
Tests:
     'A2B8T1Q9W4.-F%5.34.' == true;
     'a2B8T1Q9W4.-F%5.34.' == false; (small letter)
     'A2B8T1Q9W4.-F%5.3B.' == false; (last char should be number) 
     'A2B8T1Q9W4.£F&5.34.' == false; (symbol changed from - and %)
 ```

The pattern only needs to appear within the text. The full input can be longer, i.e. the pattern can be surrounded by other characters... Chuck loves to be surrounded!

Ready, steady, VERIFY!!

Source: codewars | Difficulty: EASY

Starter code: def body_count(code):
	

Solutions:
from re import search

def body_count(code):
	return bool(search('(?:[A-Z]\\d){5}\\.-[A-Z]%\\d\\.\\d{2}\\.', code))


import re
pattern = re.compile('A8A8A8A8A8.-A%8.88.'.replace('A', '[A-Z]').replace('8', '[0-9]').replace('.', '\\.'))

def body_count(code):
	return bool(pattern.search(code))


import re
body_count = lambda s: bool(re.search('([A-Z]\\d){5}\\.-[A-Z]%\\d\\.\\d\\d\\.', s))


import re
pattern = re.compile('([A-Z]\\d){5}\\.-[A-Z]%\\d\\.\\d\\d\\.')

def body_count(code):
	return bool(pattern.search(code))


check = __import__('re').compile('(?:[A-Z]\\d){5}\\.\\-[A-Z]\\%\\d\\.\\d\\d\\.').search

def body_count(code):
	return bool(check(code))


import re

def body_count(code):
	reg = re.compile('([A-Z][0-9]){5}\\.\\-[A-Z]\\%[0-9]\\.([0-9]){2}\\.')
	return bool(re.search(reg, code))


body_count = lambda s: bool(__import__('re').search('(?:[A-Z]\\d){5}\\.-[A-Z]%\\d\\.\\d\\d\\.', s))