Index: regex.cs
===================================================================
RCS file: /cvs/public/mcs/class/System/System.Text.RegularExpressions/regex.cs,v
retrieving revision 1.11
diff -u -u -r1.11 regex.cs
--- regex.cs	28 Aug 2002 18:46:54 -0000	1.11
+++ regex.cs	12 Nov 2002 02:56:42 -0000
@@ -168,9 +168,11 @@
 				// install machine factory and add to pattern cache
 
 				this.factory = cmp.GetMachineFactory ();
+				this.factory.Mapping = mapping;
 				cache.Add (pattern, options, this.factory);
 			} else {
 				this.group_count = this.factory.GroupCount;
+				this.mapping = this.factory.Mapping;
 			}
 		}
 
