Team:Amsterdam/maarten/
From 2012.igem.org
(Difference between revisions)
Line 33: | Line 33: | ||
var match, matches = [] | var match, matches = [] | ||
while ((match = pattern.exec(plasmid)) != null){ | while ((match = pattern.exec(plasmid)) != null){ | ||
- | alert( | + | alert(target.length) |
- | matches.push(match.index+':'+match.index+ | + | matches.push((match.index)+':'+(match.index+target.length)) |
alert(matches) | alert(matches) | ||
} | } |
Revision as of 01:27, 24 July 2012