|
|
@@ -146,14 +146,14 @@ namespace System.Text.RegularExpressions {
|
|
|
|
|
|
this.factory = cache.Lookup (pattern, options);
|
|
|
|
|
|
- if (this.factory == null) {
|
|
|
- // parse and install group mapping
|
|
|
+ // parse and install group mapping
|
|
|
|
|
|
- Parser psr = new Parser ();
|
|
|
- RegularExpression re = psr.ParseRegularExpression (pattern, options);
|
|
|
- this.group_count = re.GroupCount;
|
|
|
- this.mapping = psr.GetMapping ();
|
|
|
+ Parser psr = new Parser ();
|
|
|
+ RegularExpression re = psr.ParseRegularExpression (pattern, options);
|
|
|
+ this.group_count = re.GroupCount;
|
|
|
+ this.mapping = psr.GetMapping ();
|
|
|
|
|
|
+ if (this.factory == null) {
|
|
|
// compile
|
|
|
|
|
|
ICompiler cmp;
|