diff --git a/spec/compiler_spec.rb b/spec/compiler_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/compiler_spec.rb
+++ b/spec/compiler_spec.rb
@@ -32,8 +32,14 @@ module CorrespondenceMarkup
     
     it "compiles with backslash quoting" do
       parse("a\\[23\\] = b \\\\ c", :text).value.should == "a[23] = b \\ c"
+      parse("a\\[23\\] = b \\\\ c", :non_item).value.should == NonItem.new("a[23] = b \\ c")
+      parse("[31 a\\[23\\] = c]", :item).value.should == Item.new(31, "a[23] = c")
     end  
     
+    it "compiles with backslash quoting, matching forward only (no overlaps)" do
+      parse("\\[\\\\\\\\\\]", :text).value.should == "[\\\\]"
+    end
+    
     it "compiles structure" do
       parse("[1 an item] in between stuff [2 a second item]", :structure).value.should == 
         Structure.new([Item.new(1, "an item"), NonItem.new(" in between stuff "),
more backslash quoting tests