[System.Net] Add support for .pac proxy config scripts on mac
[mono.git] / mcs / class / System / System.Text.RegularExpressions / LookBehindWithUndefinedLength.jvm.cs
1 using System;\r
2 using System.Collections.Generic;\r
3 using System.Text;\r
4 using java.util.regex;\r
5 using java.lang;\r
6 \r
7 namespace System.Text.RegularExpressions\r
8 {\r
9         sealed class LookBehindWithUndefinedLength : IConstructType\r
10         {\r
11                 //private const string DEFINITION = @"\(\?<[=!].*(?:[\*\+]|\{\d+,\}).*\)";\r
12                 private const string DEFINITION = @"\(\?<[=!][^\)]*\)";\r
13 \r
14                 public bool HasConstruct (string pattern, RegexOptions options) {\r
15                         return JavaUtils.IsMatch (pattern, DEFINITION);\r
16                 }\r
17 \r
18                 public string Reformat (RegexOptions options,\r
19                         string reformattedPattern,\r
20                         PatternGrouping patternGrouping) {\r
21                         throw new NotImplementedException ("Reformat for look ahead with undefined length construct is not implemented.");\r
22                 }\r
23         }\r
24 }\r