Index: re.c
===================================================================
RCS file: /src/ruby/re.c,v
retrieving revision 1.114.2.10
diff -u -r1.114.2.10 re.c
--- re.c	19 Oct 2004 10:25:20 -0000	1.114.2.10
+++ re.c	4 Dec 2004 20:22:00 -0000
@@ -1523,8 +1523,8 @@
  *     
  *     a = "HELLO"
  *     case a
- *     when /^a-z*$/; print "Lower case\n"
- *     when /^A-Z*$/; print "Upper case\n"
+ *     when /^[a-z]*$/; print "Lower case\n"
+ *     when /^[A-Z]*$/; print "Upper case\n"
  *     else;            print "Mixed case\n"
  *     end
  *