Method PatternAndContextMatches
PatternAndContextMatches(ICharSequence, Int32)
Decides if the pattern and context match the input starting at a position. It is a match if the
LContext matches input
up to i
, Pattern matches at i
and
RContext matches from the end of the match of Pattern to the end of input
.
Declaration
public virtual bool PatternAndContextMatches(ICharSequence input, int i)
Parameters
Type | Name | Description |
---|---|---|
ICharSequence | input | The input ICharSequence. |
System.Int32 | i | The int position within the input. |
Returns
Type | Description |
---|---|
System.Boolean |
|
PatternAndContextMatches(String, Int32)
Decides if the pattern and context match the input starting at a position. It is a match if the
LContext matches input
up to i
, Pattern matches at i
and
RContext matches from the end of the match of Pattern to the end of input
.
Declaration
public virtual bool PatternAndContextMatches(string input, int i)
Parameters
Type | Name | Description |
---|---|---|
System.String | input | The input |
System.Int32 | i | The int position within the input. |
Returns
Type | Description |
---|---|
System.Boolean |
|
PatternAndContextMatches(StringBuilder, Int32)
Decides if the pattern and context match the input starting at a position. It is a match if the
LContext matches input
up to i
, Pattern matches at i
and
RContext matches from the end of the match of Pattern to the end of input
.
Declaration
public virtual bool PatternAndContextMatches(StringBuilder input, int i)
Parameters
Type | Name | Description |
---|---|---|
StringBuilder | input | The input |
System.Int32 | i | The int position within the input. |
Returns
Type | Description |
---|---|
System.Boolean |
|