Skip to content

Commit

Permalink
Allow bodywhite to match on zero length strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenrbrandt committed Aug 1, 2016
1 parent 7c5983f commit 44097ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edu/lsu/cct/piraha/BodyWhite.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public boolean match(Matcher m) {
return false;
}
} else {
return false;
return m.white.length()==0;
}
}
}
Expand Down

0 comments on commit 44097ed

Please sign in to comment.