Package system.text.regularexpressions
Class Regex
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.text.regularexpressions.Regex
-
- All Implemented Interfaces:
IJCOBridgeReflected
,ISerializable
- Direct Known Subclasses:
AspCodeRegex
,AspEncodedExprRegex
,AspExprRegex
,CommentRegex
,DatabindExprRegex
,DataBindRegex
,DirectiveRegex
,EndTagRegex
,GTRegex
,IncludeRegex
,LTRegex
,RunatServerRegex
,ServerTagsRegex
,SimpleDirectiveRegex
,TagRegex
,TagRegex35
,TextRegex
public class Regex extends NetObject implements ISerializable
The base .NET class managing System.Text.RegularExpressions.Regex, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: Systemstatic 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)
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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System- 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) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, FormatException, NullReferenceException, KeyNotFoundException, RankException, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
FormatException
NullReferenceException
KeyNotFoundException
RankException
SecurityException
-
Regex
public Regex(java.lang.String pattern, RegexOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, FormatException, NullReferenceException, KeyNotFoundException, RankException, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
FormatException
NullReferenceException
KeyNotFoundException
RankException
SecurityException
-
Regex
public Regex(java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, FormatException, NullReferenceException, KeyNotFoundException, RankException, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
FormatException
NullReferenceException
KeyNotFoundException
RankException
SecurityException
-
-
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) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, RegexMatchTimeoutException
-
IsMatch
public boolean IsMatch(java.lang.String input, int startat) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
OverflowException
RegexMatchTimeoutException
-
IsMatch
public static boolean IsMatch(java.lang.String input, java.lang.String pattern) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
NotImplementedException
OverflowException
RegexMatchTimeoutException
-
IsMatch
public static boolean IsMatch(java.lang.String input, java.lang.String pattern, RegexOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
NotImplementedException
OverflowException
RegexMatchTimeoutException
-
IsMatch
public static boolean IsMatch(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, FormatException, NullReferenceException, KeyNotFoundException, RankException, SecurityException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
FormatException
NullReferenceException
KeyNotFoundException
RankException
SecurityException
OverflowException
RegexMatchTimeoutException
-
GroupNumberFromName
public int GroupNumberFromName(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
GetGroupNumbers
public int[] GetGroupNumbers() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Escape
public static java.lang.String Escape(java.lang.String str) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, InvalidOperationException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentOutOfRangeException
InvalidOperationException
OutOfMemoryException
-
GroupNameFromNumber
public java.lang.String GroupNameFromNumber(int i) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, ObjectDisposedException, AbandonedMutexException
-
Replace
public java.lang.String Replace(java.lang.String input, java.lang.String replacement) throws java.lang.Throwable, ArgumentNullException, NullReferenceException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, OutOfMemoryException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, FormatException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
NullReferenceException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotSupportedException
OutOfMemoryException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
FormatException
OverflowException
RegexMatchTimeoutException
-
Replace
public java.lang.String Replace(java.lang.String input, java.lang.String replacement, int count) throws java.lang.Throwable, ArgumentNullException, NullReferenceException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, OutOfMemoryException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, FormatException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
NullReferenceException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotSupportedException
OutOfMemoryException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
FormatException
OverflowException
RegexMatchTimeoutException
-
Replace
public java.lang.String Replace(java.lang.String input, java.lang.String replacement, int count, int startat) throws java.lang.Throwable, ArgumentNullException, NullReferenceException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
NullReferenceException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
OutOfMemoryException
IndexOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
FormatException
OverflowException
RegexMatchTimeoutException
-
Replace
public static java.lang.String Replace(java.lang.String input, java.lang.String pattern, java.lang.String replacement) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
NotImplementedException
RegexMatchTimeoutException
-
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, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
NotImplementedException
RegexMatchTimeoutException
-
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, ArgumentNullException, ArgumentOutOfRangeException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, FormatException, NullReferenceException, KeyNotFoundException, RankException, SecurityException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
FormatException
NullReferenceException
KeyNotFoundException
RankException
SecurityException
RegexMatchTimeoutException
-
Replace
public static java.lang.String Replace(java.lang.String input, java.lang.String pattern, MatchEvaluator evaluator) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
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, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
NotImplementedException
RegexMatchTimeoutException
-
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, ArgumentNullException, ArgumentOutOfRangeException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, FormatException, NullReferenceException, KeyNotFoundException, RankException, SecurityException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
FormatException
NullReferenceException
KeyNotFoundException
RankException
SecurityException
RegexMatchTimeoutException
-
Replace
public java.lang.String Replace(java.lang.String input, MatchEvaluator evaluator) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, RegexMatchTimeoutException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
OverflowException
RegexMatchTimeoutException
OutOfMemoryException
-
Replace
public java.lang.String Replace(java.lang.String input, MatchEvaluator evaluator, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, RegexMatchTimeoutException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
OverflowException
RegexMatchTimeoutException
OutOfMemoryException
-
Replace
public java.lang.String Replace(java.lang.String input, MatchEvaluator evaluator, int count, int startat) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
OverflowException
RegexMatchTimeoutException
-
Unescape
public static java.lang.String Unescape(java.lang.String str) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, OutOfMemoryException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException
-
GetGroupNames
public java.lang.String[] GetGroupNames() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
Split
public java.lang.String[] Split(java.lang.String input) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, RegexMatchTimeoutException, RankException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
OverflowException
RegexMatchTimeoutException
RankException
-
Split
public java.lang.String[] Split(java.lang.String input, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException, RegexMatchTimeoutException, RankException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
OverflowException
RegexMatchTimeoutException
RankException
-
Split
public java.lang.String[] Split(java.lang.String input, int count, int startat) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException, RegexMatchTimeoutException, RankException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
OverflowException
RegexMatchTimeoutException
RankException
-
Split
public static java.lang.String[] Split(java.lang.String input, java.lang.String pattern) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
NotImplementedException
RegexMatchTimeoutException
-
Split
public static java.lang.String[] Split(java.lang.String input, java.lang.String pattern, RegexOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
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, ArgumentNullException, ArgumentOutOfRangeException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, FormatException, NullReferenceException, KeyNotFoundException, RankException, SecurityException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
FormatException
NullReferenceException
KeyNotFoundException
RankException
SecurityException
RegexMatchTimeoutException
-
Match
public Match Match(java.lang.String input) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, RegexMatchTimeoutException
-
Match
public Match Match(java.lang.String input, int startat) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
OverflowException
RegexMatchTimeoutException
-
Match
public Match Match(java.lang.String input, int beginning, int length) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
OverflowException
RegexMatchTimeoutException
-
Match
public static Match Match(java.lang.String input, java.lang.String pattern) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
NotImplementedException
OverflowException
RegexMatchTimeoutException
-
Match
public static Match Match(java.lang.String input, java.lang.String pattern, RegexOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
NotImplementedException
OverflowException
RegexMatchTimeoutException
-
Match
public static Match Match(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, FormatException, NullReferenceException, KeyNotFoundException, RankException, SecurityException, OverflowException, RegexMatchTimeoutException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
FormatException
NullReferenceException
KeyNotFoundException
RankException
SecurityException
OverflowException
RegexMatchTimeoutException
-
Matches
public MatchCollection Matches(java.lang.String input) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
Matches
public MatchCollection Matches(java.lang.String input, int startat) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
Matches
public static MatchCollection Matches(java.lang.String input, java.lang.String pattern) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
NotImplementedException
-
Matches
public static MatchCollection Matches(java.lang.String input, java.lang.String pattern, RegexOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, KeyNotFoundException, NotSupportedException, RankException, SecurityException, NotImplementedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
KeyNotFoundException
NotSupportedException
RankException
SecurityException
NotImplementedException
-
Matches
public static MatchCollection Matches(java.lang.String input, java.lang.String pattern, RegexOptions options, TimeSpan matchTimeout) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, FormatException, NullReferenceException, KeyNotFoundException, RankException, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
OutOfMemoryException
IndexOutOfRangeException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
FormatException
NullReferenceException
KeyNotFoundException
RankException
SecurityException
-
CompileToAssembly
public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname) throws java.lang.Throwable, ArgumentNullException, ArgumentException, SecurityException, NotSupportedException, FormatException, ArgumentOutOfRangeException, NotImplementedException, InvalidOperationException, NullReferenceException, TypeLoadException, MissingMethodException, TargetInvocationException, FileNotFoundException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, KeyNotFoundException, RankException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
SecurityException
NotSupportedException
FormatException
ArgumentOutOfRangeException
NotImplementedException
InvalidOperationException
NullReferenceException
TypeLoadException
MissingMethodException
TargetInvocationException
FileNotFoundException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
KeyNotFoundException
RankException
UnauthorizedAccessException
-
CompileToAssembly
public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, SecurityException, NotSupportedException, FormatException, ArgumentOutOfRangeException, NotImplementedException, InvalidOperationException, NullReferenceException, TypeLoadException, MissingMethodException, TargetInvocationException, FileNotFoundException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, KeyNotFoundException, RankException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
SecurityException
NotSupportedException
FormatException
ArgumentOutOfRangeException
NotImplementedException
InvalidOperationException
NullReferenceException
TypeLoadException
MissingMethodException
TargetInvocationException
FileNotFoundException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
KeyNotFoundException
RankException
UnauthorizedAccessException
-
CompileToAssembly
public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, java.lang.String resourceFile) throws java.lang.Throwable, ArgumentNullException, ArgumentException, SecurityException, NotSupportedException, FormatException, ArgumentOutOfRangeException, NotImplementedException, InvalidOperationException, NullReferenceException, TypeLoadException, MissingMethodException, TargetInvocationException, FileNotFoundException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, KeyNotFoundException, RankException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
SecurityException
NotSupportedException
FormatException
ArgumentOutOfRangeException
NotImplementedException
InvalidOperationException
NullReferenceException
TypeLoadException
MissingMethodException
TargetInvocationException
FileNotFoundException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
KeyNotFoundException
RankException
UnauthorizedAccessException
-
getRightToLeft
public boolean getRightToLeft() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCacheSize
public static int getCacheSize() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCacheSize
public static void setCacheSize(int CacheSize) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getOptions
public RegexOptions getOptions() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMatchTimeout
public TimeSpan getMatchTimeout() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-