Permalink
Browse files

Commit to fix bug with String.delete (http://ironruby.codeplex.com/wo…

  • Loading branch information...
1 parent ece5b9e commit 7d94882990bc80504a78c7ed9ea989e31b8e19ed @robjperez committed May 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Languages/Ruby/Libraries/Builtins/MutableStringOps.cs
@@ -300,7 +300,7 @@ public class IntervalParser {
_rangeStarted = false;
} else {
int p = PeekChar();
- if (p == '-') {
+ if (p == '-' && c != '\\') {
// z- is treated as a literal 'z', '-'
if (_pos == _range.Length - 1) {
result.Set(c, !negate);

0 comments on commit 7d94882

Please sign in to comment.