The mapping between the Java java.util.regex package and the corresponding .NET types is provided in Table F-13. The System.Text.RegularExpressions classes are discussed in Chapter 7.
Table F-13. The Java to .NET Mapping for the java.util.regex Package
.NET | |
---|---|
Classes | |
Matcher | System.Text.RegularExpressions.Regex |
System.Text.RegularExpressions.Match | |
System.Text.RegularExpressions.MatchCollection | |
System.Text.RegularExpressions.Group | |
System.Text.RegularExpressions.GroupCollection | |
Pattern | System.Text.RegularExpressions.Regex |
System.Text.RegularExpressions.RegexCompilationInfo | |
System.Text.RegularExpressions.RegexOptions | |
Exceptions | |
PatternSyntaxException | System.ArgumentException |