Create a function that will return ```true``` if the input is in the following date time format ```01-09-2016 01:20``` and ```false``` if it is not.

This Kata has been inspired by the Regular Expressions chapter from the book Eloquent JavaScript.

Difficulty: EASY
Starter code: def date_checker(date):
	

Solutions:
from re import match

def date_checker(date):
	return bool(match('\\d{2}-\\d{2}-\\d{4}\\s\\d{2}:\\d{2}', date))


import re

def date_checker(date):
	return bool(re.fullmatch('\\d\\d-\\d\\d-\\d\\d\\d\\d \\d\\d:\\d\\d', date))


check = __import__('re').compile('\\d\\d-\\d\\d-\\d\\d\\d\\d \\d\\d:\\d\\d').fullmatch

def date_checker(date):
	return bool(check(date))


import re

def date_checker(date):
	return re.match('(\\d\\d-){2}\\d{4} \\d{2}:\\d{2}', date) != None


import re

def date_checker(date):
	return bool(re.match('\\d{2}-\\d{2}-\\d{4} \\d{2}:\\d{2}$', date))


import re

def date_checker(date):
	return True if re.match('\\d{2}-\\d{2}-\\d{4} \\d{2}:\\d{2}', date) else False


from re import match as m

def date_checker(date):
	return m('(3[0-1]|[0-2]?\\d)-([0-1]?\\d)-\\d{4} [0-2]\\d:\\d\\d', date) != None


date_checker = lambda s: bool(__import__('re').match('\\d\\d-\\d\\d-\\d{4} \\d\\d:\\d\\d', s))