Skip to content

Commit

Permalink
Correctly concatenate nested source
Browse files Browse the repository at this point in the history
  • Loading branch information
SLaks committed Oct 7, 2013
1 parent b9fa6dd commit 28fe071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Minimatch/Minimatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ private Tuple<ParseItem, bool> Parse(string pattern, bool isSub)
// any characters that were passed through as-is
string cs = pattern.Substring(classStart + 1);
var sp = this.Parse(cs, true);
re = re.Substring(0, reClassStart) + "\\[" + sp.Item1;
re = re.Substring(0, reClassStart) + "\\[" + sp.Item1.Source;
hasMagic = hasMagic || sp.Item2;
}

Expand Down

0 comments on commit 28fe071

Please sign in to comment.