 	'</div>'
 
 WorkoutHeader = (headerText) ->
-	DATE_REGEXP = /(\d+\/\d+\/\d+)\s/
-	this._text = headerText
-	this._workoutDate = headerText.match(DATE_REGEXP)?[1]
+	txt = headerText
+	this._text = txt
+
+	this._workoutDate = getDate(txt)
+
+	this._workoutUnitOfWeight = getUnitOfWeight(txt)
+	console.log @_workoutUnitOfWeight
+
+	this._meta = WorkoutHeader.getMeta(txt)
+	console.log @_meta
+
 	this
 
 WorkoutHeader.prototype.isValid = () ->

		text.join '<br>'
	else
		text.replace(/\n/g, '<br>')

Workouts = (text) ->
	this._chunks = text.split(WORKOUT_SEPARATOR)

	'<div class="workout-header">' +
		toHtml(this._text) +
	'</div>'

WorkoutHeader.getMeta = (text) ->
	text.match(/\(([^\)]*)\)/)?[1]

Exercises = (exercises) -> this

