Difference between revisions of "Team:ETH Zurich/Notebook"

m
m
Line 15: Line 15:
 
document.getElementById('notes').innerHTML += ". Oh dear...the notes for that day seem to have run away and we can't find them. :(";
 
document.getElementById('notes').innerHTML += ". Oh dear...the notes for that day seem to have run away and we can't find them. :(";
  
var re = new RegExp(["^",dateText,".*"].join(""));
+
var re = new RegExp([dateText,"[^\n]*"].join(""));
 
document.getElementById('notes').innerHTML += text.match(re);
 
document.getElementById('notes').innerHTML += text.match(re);
 
}
 
}

Revision as of 13:59, 24 July 2015

"What I cannot create I do not understand."
- Richard Feynmann

Notebook

Select a day to see what our lab did that day.