Skip to content

Commit

Permalink
fix escape in ws regex
Browse files Browse the repository at this point in the history
  • Loading branch information
chgibb committed Jan 19, 2019
1 parent 5e85738 commit 6a1f986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/req/bowTie2AlignmentReportParser.ts
Expand Up @@ -34,7 +34,7 @@ export function parseBowtie2AlignmentReport(report : string) : Bowtie2Report
if(report.match(new RegExp("(undefined)","g")))
report = report.substring(9,tokens.length);
//</hack>
tokens = report.split(new RegExp("\s"));
tokens = report.split(new RegExp("\\s"));

for(let i = 0; i != tokens.length; i++)
{
Expand Down

0 comments on commit 6a1f986

Please sign in to comment.