Package system.text.regularexpressions
Class Regex
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.text.regularexpressions.Regex
-
- All Implemented Interfaces:
IJCOBridgeReflected
,ISerializable
public class Regex extends NetObject implements ISerializable
The base .NET class managing System.Text.RegularExpressions.Regex, System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Text.RegularExpressions.Regex
Powered by JCOBridge: more info at https://www.jcobridge.com
- Version:
- 1.14.3.0
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: System.Text.RegularExpressionsstatic String
className
Qualified class name: System.Text.RegularExpressions.Regexstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Regex
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoRegex
, a cast assert is made to check if types are compatible.static void
CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname)
static void
CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes)
static void
CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, String resourceFile)
static String
Escape(String str)
static int
getCacheSize()
String[]
GetGroupNames()
int[]
GetGroupNumbers()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeTimeSpan
getMatchTimeout()
void
GetObjectData(SerializationInfo info, StreamingContext context)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.RegexOptions
getOptions()
boolean
getRightToLeft()
String
GroupNameFromNumber(int i)
int
GroupNumberFromName(String name)
boolean
IsMatch(String input)
boolean
IsMatch(String input, int startat)
static boolean
IsMatch(String input, String pattern)
static boolean
IsMatch(String input, String pattern, RegexOptions options)
static boolean
IsMatch(String input, String pattern, RegexOptions options, TimeSpan matchTimeout)
Match
Match(String input)
Match
Match(String input, int startat)
Match
Match(String input, int beginning, int length)
static Match
Match(String input, String pattern)
static Match
Match(String input, String pattern, RegexOptions options)
static Match
Match(String input, String pattern, RegexOptions options, TimeSpan matchTimeout)
MatchCollection
Matches(String input)
MatchCollection
Matches(String input, int startat)
static MatchCollection
Matches(String input, String pattern)
static MatchCollection
Matches(String input, String pattern, RegexOptions options)
static MatchCollection
Matches(String input, String pattern, RegexOptions options, TimeSpan matchTimeout)
String
Replace(String input, String replacement)
String
Replace(String input, String replacement, int count)
String
Replace(String input, String replacement, int count, int startat)
static String
Replace(String input, String pattern, String replacement)
static String
Replace(String input, String pattern, String replacement, RegexOptions options)
static String
Replace(String input, String pattern, String replacement, RegexOptions options, TimeSpan matchTimeout)
static String
Replace(String input, String pattern, MatchEvaluator evaluator)
static String
Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options)
static String
Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options, TimeSpan matchTimeout)
String
Replace(String input, MatchEvaluator evaluator)
String
Replace(String input, MatchEvaluator evaluator, int count)
String
Replace(String input, MatchEvaluator evaluator, int count, int startat)
static void
setCacheSize(int CacheSize)
void
setJCOInstance(JCObject instance)
String[]
Split(String input)
String[]
Split(String input, int count)
String[]
Split(String input, int count, int startat)
static String[]
Split(String input, String pattern)
static String[]
Split(String input, String pattern, RegexOptions options)
static String[]
Split(String input, String pattern, RegexOptions options, TimeSpan matchTimeout)
static String
Unescape(String str)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Text.RegularExpressions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Text.RegularExpressions- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Text.RegularExpressions.Regex- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Regex
public Regex(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
Regex
public Regex(String pattern, RegexOptions options, TimeSpan matchTimeout) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException, FormatException, RegexParseException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException, RankException, ArrayTypeMismatchException
- Throws:
Throwable
NotSupportedException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
CultureNotFoundException
PlatformNotSupportedException
InvalidOperationException
FormatException
RegexParseException
IndexOutOfRangeException
KeyNotFoundException
OutOfMemoryException
RankException
ArrayTypeMismatchException
-
Regex
public Regex(String pattern, RegexOptions options) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException, FormatException, RegexParseException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException, RankException, ArrayTypeMismatchException
- Throws:
Throwable
NotSupportedException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
CultureNotFoundException
PlatformNotSupportedException
InvalidOperationException
FormatException
RegexParseException
IndexOutOfRangeException
KeyNotFoundException
OutOfMemoryException
RankException
ArrayTypeMismatchException
-
Regex
public Regex(String pattern) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, PlatformNotSupportedException, InvalidOperationException, FormatException, RegexParseException, IndexOutOfRangeException, KeyNotFoundException, OutOfMemoryException, RankException, ArrayTypeMismatchException
- Throws:
Throwable
NotSupportedException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
CultureNotFoundException
PlatformNotSupportedException
InvalidOperationException
FormatException
RegexParseException
IndexOutOfRangeException
KeyNotFoundException
OutOfMemoryException
RankException
ArrayTypeMismatchException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceISerializable
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceISerializable
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceISerializable
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceISerializable
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceISerializable
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Regex cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoRegex
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Regex
instance- Throws:
Throwable
- in case of error during cast operation
-
IsMatch
public boolean IsMatch(String input, int startat) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OverflowException
RegexMatchTimeoutException
-
IsMatch
public static boolean IsMatch(String input, String pattern, RegexOptions options, TimeSpan matchTimeout) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException
-
IsMatch
public static boolean IsMatch(String input, String pattern, RegexOptions options) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException
-
IsMatch
public static boolean IsMatch(String input, String pattern) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException
-
IsMatch
public boolean IsMatch(String input) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OverflowException
RegexMatchTimeoutException
-
GroupNumberFromName
public int GroupNumberFromName(String name) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException
-
Escape
public static String Escape(String str) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException
-
GroupNameFromNumber
public String GroupNameFromNumber(int i) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException
-
Replace
public String Replace(String input, String replacement, int count, int startat) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, FormatException, RegexParseException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
FormatException
RegexParseException
OverflowException
RegexMatchTimeoutException
-
Replace
public String Replace(String input, String replacement, int count) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, RegexParseException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
RegexParseException
OverflowException
RegexMatchTimeoutException
-
Replace
public static String Replace(String input, String pattern, String replacement, RegexOptions options, TimeSpan matchTimeout) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException
-
Replace
public static String Replace(String input, String pattern, String replacement, RegexOptions options) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException
-
Replace
public static String Replace(String input, String pattern, String replacement) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException
-
Replace
public static String Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options, TimeSpan matchTimeout) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException, ArrayTypeMismatchException
- Throws:
Throwable
ArgumentException
PlatformNotSupportedException
NotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
RegexParseException
KeyNotFoundException
IndexOutOfRangeException
OverflowException
RegexMatchTimeoutException
ArrayTypeMismatchException
-
Replace
public static String Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException, ArrayTypeMismatchException
- Throws:
Throwable
ArgumentException
PlatformNotSupportedException
NotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
RegexParseException
KeyNotFoundException
IndexOutOfRangeException
OverflowException
RegexMatchTimeoutException
ArrayTypeMismatchException
-
Replace
public static String Replace(String input, String pattern, MatchEvaluator evaluator) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException, ArrayTypeMismatchException
- Throws:
Throwable
ArgumentException
PlatformNotSupportedException
NotSupportedException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
RegexParseException
KeyNotFoundException
IndexOutOfRangeException
OverflowException
RegexMatchTimeoutException
ArrayTypeMismatchException
-
Replace
public String Replace(String input, String replacement) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, RegexParseException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
RegexParseException
OverflowException
RegexMatchTimeoutException
-
Replace
public String Replace(String input, MatchEvaluator evaluator, int count, int startat) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OverflowException
RegexMatchTimeoutException
-
Replace
public String Replace(String input, MatchEvaluator evaluator, int count) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OverflowException
RegexMatchTimeoutException
-
Replace
public String Replace(String input, MatchEvaluator evaluator) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OverflowException
RegexMatchTimeoutException
-
Unescape
public static String Unescape(String str) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException, RegexParseException
-
GetGroupNames
public String[] GetGroupNames() throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
Split
public String[] Split(String input, int count, int startat) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OverflowException
RegexMatchTimeoutException
-
Split
public String[] Split(String input, int count) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OverflowException
RegexMatchTimeoutException
-
Split
public static String[] Split(String input, String pattern, RegexOptions options, TimeSpan matchTimeout) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException
-
Split
public static String[] Split(String input, String pattern, RegexOptions options) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException
-
Split
public static String[] Split(String input, String pattern) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException
-
Split
public String[] Split(String input) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OverflowException
RegexMatchTimeoutException
-
Match
public Match Match(String input, int beginning, int length) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OverflowException
RegexMatchTimeoutException
-
Match
public Match Match(String input, int startat) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OverflowException
RegexMatchTimeoutException
-
Match
public static Match Match(String input, String pattern, RegexOptions options, TimeSpan matchTimeout) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException
-
Match
public static Match Match(String input, String pattern, RegexOptions options) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException
-
Match
public static Match Match(String input, String pattern) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException, OverflowException, RegexMatchTimeoutException
-
Match
public Match Match(String input) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, CultureNotFoundException, OverflowException, RegexMatchTimeoutException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
ObjectDisposedException
RankException
CultureNotFoundException
OverflowException
RegexMatchTimeoutException
-
Matches
public MatchCollection Matches(String input, int startat) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException
-
Matches
public static MatchCollection Matches(String input, String pattern, RegexOptions options, TimeSpan matchTimeout) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException
-
Matches
public static MatchCollection Matches(String input, String pattern, RegexOptions options) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException
-
Matches
public static MatchCollection Matches(String input, String pattern) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, RegexParseException, KeyNotFoundException, IndexOutOfRangeException
-
Matches
public MatchCollection Matches(String input) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException
-
CompileToAssembly
public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, String resourceFile) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException
-
CompileToAssembly
public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes) throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
CompileToAssembly
public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname) throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
GetObjectData
@Deprecated public void GetObjectData(SerializationInfo info, StreamingContext context) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToISerializable method available in ISerializable to obtain an object with an invocable method- Specified by:
GetObjectData
in interfaceISerializable
- Throws:
Throwable
-
setCacheSize
public static void setCacheSize(int CacheSize) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, EventSourceException, OutOfMemoryException
-
getOptions
public RegexOptions getOptions() throws Throwable
- Throws:
Throwable
-
-