Skip to content

Commit

Permalink
reenable exact/map optimizations for quantifiers with lower bounds of 1
Browse files Browse the repository at this point in the history
  • Loading branch information
lopex committed Feb 16, 2018
1 parent 6b85646 commit 7c5f6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/joni/Analyser.java
Original file line number Diff line number Diff line change
Expand Up @@ -2225,7 +2225,7 @@ private void optimizeNodeLeft(Node node, NodeOptInfo opt, OptEnvironment oenv) {
opt.anchor.add(AnchorType.ANYCHAR_STAR);
}
}
} else {
} /*else*/ {
if (qn.lower > 0) {
opt.copy(nopt);
if (nopt.exb.length > 0) {
Expand Down

0 comments on commit 7c5f6fa

Please sign in to comment.