TLPattern Object
When an undefined hit attribute is accessed from EventEngineScripting JavaScript, a null hit attribute is returned. The values that are returned in the null hit attribute are listed as the default values in the following table.
| Method Name | Return Value | Default | Description |
|---|---|---|---|
valueAt(x) |
String |
"" |
Return the Nth pattern that is found in buffer |
firstValue() |
String |
"" |
Return first pattern that is found in buffer |
lastValue() |
String |
"" |
Return last pattern that is found in buffer |
matchCount() |
Integer |
0 |
Return number of matches for pattern in buffer |
patternFound() |
Boolean |
false |
True - pattern(s) found in buffer |