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=9.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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Text.RegularExpressions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Text.RegularExpressionsstatic java.lang.String
className
Qualified class name: System.Text.RegularExpressions.Regexstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description Regex()
Regex(java.lang.Object instance)
Internal constructor.Regex(java.lang.String pattern)
Regex(java.lang.String pattern, RegexOptions options)
Regex(java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout)
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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, java.lang.String resourceFile)
int
Count(java.lang.String input)
static int
Count(java.lang.String input, java.lang.String pattern)
static int
Count(java.lang.String input, java.lang.String pattern, RegexOptions options)
static int
Count(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout)
static java.lang.String
Escape(java.lang.String str)
static int
getCacheSize()
java.lang.String[]
GetGroupNames()
int[]
GetGroupNumbers()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeTimeSpan
getMatchTimeout()
RegexOptions
getOptions()
boolean
getRightToLeft()
java.lang.String
GroupNameFromNumber(int i)
int
GroupNumberFromName(java.lang.String name)
boolean
IsMatch(java.lang.String input)
boolean
IsMatch(java.lang.String input, int startat)
static boolean
IsMatch(java.lang.String input, java.lang.String pattern)
static boolean
IsMatch(java.lang.String input, java.lang.String pattern, RegexOptions options)
static boolean
IsMatch(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout)
Match
Match(java.lang.String input)
Match
Match(java.lang.String input, int startat)
Match
Match(java.lang.String input, int beginning, int length)
static Match
Match(java.lang.String input, java.lang.String pattern)
static Match
Match(java.lang.String input, java.lang.String pattern, RegexOptions options)
static Match
Match(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout)
MatchCollection
Matches(java.lang.String input)
MatchCollection
Matches(java.lang.String input, int startat)
static MatchCollection
Matches(java.lang.String input, java.lang.String pattern)
static MatchCollection
Matches(java.lang.String input, java.lang.String pattern, RegexOptions options)
static MatchCollection
Matches(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout)
java.lang.String
Replace(java.lang.String input, java.lang.String replacement)
java.lang.String
Replace(java.lang.String input, java.lang.String replacement, int count)
java.lang.String
Replace(java.lang.String input, java.lang.String replacement, int count, int startat)
static java.lang.String
Replace(java.lang.String input, java.lang.String pattern, java.lang.String replacement)
static java.lang.String
Replace(java.lang.String input, java.lang.String pattern, java.lang.String replacement, RegexOptions options)
static java.lang.String
Replace(java.lang.String input, java.lang.String pattern, java.lang.String replacement, RegexOptions options, TimeSpan matchTimeout)
static java.lang.String
Replace(java.lang.String input, java.lang.String pattern, MatchEvaluator evaluator)
static java.lang.String
Replace(java.lang.String input, java.lang.String pattern, MatchEvaluator evaluator, RegexOptions options)
static java.lang.String
Replace(java.lang.String input, java.lang.String pattern, MatchEvaluator evaluator, RegexOptions options, TimeSpan matchTimeout)
java.lang.String
Replace(java.lang.String input, MatchEvaluator evaluator)
java.lang.String
Replace(java.lang.String input, MatchEvaluator evaluator, int count)
java.lang.String
Replace(java.lang.String input, MatchEvaluator evaluator, int count, int startat)
static void
setCacheSize(int CacheSize)
void
setJCOInstance(JCObject instance)
java.lang.String[]
Split(java.lang.String input)
java.lang.String[]
Split(java.lang.String input, int count)
java.lang.String[]
Split(java.lang.String input, int count, int startat)
static java.lang.String[]
Split(java.lang.String input, java.lang.String pattern)
static java.lang.String[]
Split(java.lang.String input, java.lang.String pattern, RegexOptions options)
static java.lang.String[]
Split(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout)
static java.lang.String
Unescape(java.lang.String str)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.runtime.serialization.ISerializable
GetObjectData
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Text.RegularExpressions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Text.RegularExpressions- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Text.RegularExpressions.Regex- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Regex
public Regex(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
Regex
public Regex() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Regex
public Regex(java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OutOfMemoryException, TaskSchedulerException, OverflowException, FormatException, UnreachableException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OutOfMemoryException
TaskSchedulerException
OverflowException
FormatException
UnreachableException
-
Regex
public Regex(java.lang.String pattern, RegexOptions options) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OutOfMemoryException, TaskSchedulerException, OverflowException, FormatException, UnreachableException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OutOfMemoryException
TaskSchedulerException
OverflowException
FormatException
UnreachableException
-
Regex
public Regex(java.lang.String pattern) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OutOfMemoryException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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:
java.lang.Throwable
- in case of error during cast operation
-
IsMatch
public boolean IsMatch(java.lang.String input, int startat) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
NotImplementedException
RegexMatchTimeoutException
-
IsMatch
public static boolean IsMatch(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
NotImplementedException
RegexMatchTimeoutException
-
IsMatch
public static boolean IsMatch(java.lang.String input, java.lang.String pattern, RegexOptions options) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
NotImplementedException
RegexMatchTimeoutException
-
IsMatch
public static boolean IsMatch(java.lang.String input, java.lang.String pattern) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
NotImplementedException
RegexMatchTimeoutException
-
IsMatch
public boolean IsMatch(java.lang.String input) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
NotImplementedException
RegexMatchTimeoutException
-
Count
public static int Count(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
NotImplementedException
RegexMatchTimeoutException
-
Count
public static int Count(java.lang.String input, java.lang.String pattern, RegexOptions options) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
NotImplementedException
RegexMatchTimeoutException
-
Count
public static int Count(java.lang.String input, java.lang.String pattern) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
NotImplementedException
RegexMatchTimeoutException
-
Count
public int Count(java.lang.String input) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
NotImplementedException
RegexMatchTimeoutException
-
GroupNumberFromName
public int GroupNumberFromName(java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException
-
GetGroupNumbers
public int[] GetGroupNumbers() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
Escape
public static java.lang.String Escape(java.lang.String str) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, UnreachableException
-
GroupNameFromNumber
public java.lang.String GroupNameFromNumber(int i) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArgumentNullException
ArgumentOutOfRangeException
-
Replace
public java.lang.String Replace(java.lang.String input, java.lang.String replacement, int count, int startat) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, CultureNotFoundException, FormatException, RegexParseException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
CultureNotFoundException
FormatException
RegexParseException
NotImplementedException
RegexMatchTimeoutException
-
Replace
public java.lang.String Replace(java.lang.String input, java.lang.String replacement, int count) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, CultureNotFoundException, RegexParseException, NotImplementedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
CultureNotFoundException
RegexParseException
NotImplementedException
-
Replace
public static java.lang.String Replace(java.lang.String input, java.lang.String pattern, java.lang.String replacement, RegexOptions options, TimeSpan matchTimeout) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
-
Replace
public static java.lang.String Replace(java.lang.String input, java.lang.String pattern, java.lang.String replacement, RegexOptions options) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
-
Replace
public static java.lang.String Replace(java.lang.String input, java.lang.String pattern, java.lang.String replacement) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException
-
Replace
public static java.lang.String Replace(java.lang.String input, java.lang.String pattern, MatchEvaluator evaluator, RegexOptions options, TimeSpan matchTimeout) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
NotImplementedException
RegexMatchTimeoutException
-
Replace
public static java.lang.String Replace(java.lang.String input, java.lang.String pattern, MatchEvaluator evaluator, RegexOptions options) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
NotImplementedException
RegexMatchTimeoutException
-
Replace
public static java.lang.String Replace(java.lang.String input, java.lang.String pattern, MatchEvaluator evaluator) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
NotImplementedException
RegexMatchTimeoutException
-
Replace
public java.lang.String Replace(java.lang.String input, java.lang.String replacement) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, CultureNotFoundException, RegexParseException, NotImplementedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
CultureNotFoundException
RegexParseException
NotImplementedException
-
Replace
public java.lang.String Replace(java.lang.String input, MatchEvaluator evaluator, int count, int startat) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
NotImplementedException
RegexMatchTimeoutException
-
Replace
public java.lang.String Replace(java.lang.String input, MatchEvaluator evaluator, int count) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
NotImplementedException
RegexMatchTimeoutException
-
Replace
public java.lang.String Replace(java.lang.String input, MatchEvaluator evaluator) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
NotImplementedException
RegexMatchTimeoutException
-
Unescape
public static java.lang.String Unescape(java.lang.String str) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, RegexParseException
-
GetGroupNames
public java.lang.String[] GetGroupNames() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
PlatformNotSupportedException
ArrayTypeMismatchException
-
Split
public java.lang.String[] Split(java.lang.String input, int count, int startat) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
NotImplementedException
RegexMatchTimeoutException
-
Split
public java.lang.String[] Split(java.lang.String input, int count) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
NotImplementedException
RegexMatchTimeoutException
-
Split
public static java.lang.String[] Split(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
NotImplementedException
RegexMatchTimeoutException
-
Split
public static java.lang.String[] Split(java.lang.String input, java.lang.String pattern, RegexOptions options) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
NotImplementedException
RegexMatchTimeoutException
-
Split
public static java.lang.String[] Split(java.lang.String input, java.lang.String pattern) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
NotImplementedException
RegexMatchTimeoutException
-
Split
public java.lang.String[] Split(java.lang.String input) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
NotImplementedException
RegexMatchTimeoutException
-
Match
public Match Match(java.lang.String input, int beginning, int length) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
NotImplementedException
RegexMatchTimeoutException
-
Match
public Match Match(java.lang.String input, int startat) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
NotImplementedException
RegexMatchTimeoutException
-
Match
public static Match Match(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
NotImplementedException
RegexMatchTimeoutException
-
Match
public static Match Match(java.lang.String input, java.lang.String pattern, RegexOptions options) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
NotImplementedException
RegexMatchTimeoutException
-
Match
public static Match Match(java.lang.String input, java.lang.String pattern) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
NotImplementedException
RegexMatchTimeoutException
-
Match
public Match Match(java.lang.String input) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
NullReferenceException
NotImplementedException
RegexMatchTimeoutException
-
Matches
public MatchCollection Matches(java.lang.String input, int startat) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
Matches
public static MatchCollection Matches(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
-
Matches
public static MatchCollection Matches(java.lang.String input, java.lang.String pattern, RegexOptions options) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException, OverflowException, FormatException, UnreachableException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
RegexParseException
KeyNotFoundException
OverflowException
FormatException
UnreachableException
-
Matches
public static MatchCollection Matches(java.lang.String input, java.lang.String pattern) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, RegexParseException, KeyNotFoundException
-
Matches
public MatchCollection Matches(java.lang.String input) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
CompileToAssembly
public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, java.lang.String resourceFile) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
CompileToAssembly
public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
CompileToAssembly
public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getRightToLeft
public boolean getRightToLeft() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCacheSize
public static int getCacheSize() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
setCacheSize
public static void setCacheSize(int CacheSize) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException
-
getOptions
public RegexOptions getOptions() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMatchTimeout
public TimeSpan getMatchTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-