--- /usr/bin/rd2.orig	2009-07-03 16:57:21.000000000 +0900
+++ /usr/bin/rd2	2009-08-11 01:28:23.000000000 +0900
@@ -128,8 +128,10 @@
   end
 
   # accept "PART:FILTER" and "PART"
+  class PART ; end
+  q.accept(PART, /(\w+)(?:\s*:\s*(\w+))?/){|s,p,f|[s,p,f]}
   q.on("--with-part=PART",
-       /(\w+)(?:\s*:\s*(\w+))?/,
+       PART,
        "include PART with Filter") do |src, part, filter|
     with_part.push([part, filter || part])
     unless include_path.index(RD::RDTree.tmp_dir)
