@@ -918,8 +970,12 @@ val start = Pattern.begin[Event]("start")
...
@@ -918,8 +970,12 @@ val start = Pattern.begin[Event]("start")
```
```
|
| **begin(#pattern_sequence)** | Defines a starting pattern:
---
模式操作:`begin(#pattern_sequence)`
描述:Defines a starting pattern:
```
```
...
@@ -929,8 +985,12 @@ val start = Pattern.begin(
...
@@ -929,8 +985,12 @@ val start = Pattern.begin(
```
```
|
| **next(#name)** | Appends a new pattern. A matching event has to directly succeed the previous matching event (strict contiguity):
---
模式操作:`next(#name)`
描述:Appends a new pattern. A matching event has to directly succeed the previous matching event (strict contiguity):
```
```
...
@@ -938,8 +998,12 @@ val next = start.next("middle")
...
@@ -938,8 +998,12 @@ val next = start.next("middle")
```
```
|
| **next(#pattern_sequence)** | Appends a new pattern. A sequence of matching events have to directly succeed the previous matching event (strict contiguity):
---
模式操作:`next(#pattern_sequence)`
描述:Appends a new pattern. A sequence of matching events have to directly succeed the previous matching event (strict contiguity):
```
```
...
@@ -949,8 +1013,12 @@ val next = start.next(
...
@@ -949,8 +1013,12 @@ val next = start.next(
```
```
|
| **followedBy(#name)** | Appends a new pattern. Other events can occur between a matching event and the previous matching event (relaxed contiguity) :
---
模式操作:`followedBy(#name)`
描述:Appends a new pattern. Other events can occur between a matching event and the previous matching event (relaxed contiguity):
```
```
...
@@ -958,8 +1026,12 @@ val followedBy = start.followedBy("middle")
...
@@ -958,8 +1026,12 @@ val followedBy = start.followedBy("middle")
```
```
|
| **followedBy(#pattern_sequence)** | Appends a new pattern. Other events can occur between a sequence of matching events and the previous matching event (relaxed contiguity) :
---
模式操作:`followedBy(#pattern_sequence)`
描述:Appends a new pattern. Other events can occur between a sequence of matching events and the previous matching event (relaxed contiguity) :
```
```
...
@@ -969,8 +1041,12 @@ val followedBy = start.followedBy(
...
@@ -969,8 +1041,12 @@ val followedBy = start.followedBy(
```
```
|
| **followedByAny(#name)** | Appends a new pattern. Other events can occur between a matching event and the previous matching event, and alternative matches will be presented for every alternative matching event (non-deterministic relaxed contiguity):
---
模式操作:`followedByAny(#name)`
描述:Appends a new pattern. Other events can occur between a matching event and the previous matching event, and alternative matches will be presented for every alternative matching event (non-deterministic relaxed contiguity):
```
```
...
@@ -978,8 +1054,12 @@ val followedByAny = start.followedByAny("middle")
...
@@ -978,8 +1054,12 @@ val followedByAny = start.followedByAny("middle")
```
```
|
| **followedByAny(#pattern_sequence)** | Appends a new pattern. Other events can occur between a sequence of matching events and the previous matching event, and alternative matches will be presented for every alternative sequence of matching events (non-deterministic relaxed contiguity):
---
模式操作:`followedByAny(#pattern_sequence)`
描述:Appends a new pattern. Other events can occur between a sequence of matching events and the previous matching event, and alternative matches will be presented for every alternative sequence of matching events (non-deterministic relaxed contiguity):
```
```
...
@@ -989,8 +1069,12 @@ val followedByAny = start.followedByAny(
...
@@ -989,8 +1069,12 @@ val followedByAny = start.followedByAny(
```
```
|
| **notNext()** | Appends a new negative pattern. A matching (negative) event has to directly succeed the previous matching event (strict contiguity) for the partial match to be discarded:
---
模式操作:`notNext()`
描述:Appends a new negative pattern. A matching (negative) event has to directly succeed the previous matching event (strict contiguity) for the partial match to be discarded:
```
```
...
@@ -998,8 +1082,12 @@ val notNext = start.notNext("not")
...
@@ -998,8 +1082,12 @@ val notNext = start.notNext("not")
```
```
|
| **notFollowedBy()** | Appends a new negative pattern. A partial matching event sequence will be discarded even if other events occur between the matching (negative) event and the previous matching event (relaxed contiguity):
---
模式操作:`notFollowedBy()`
描述:Appends a new negative pattern. A partial matching event sequence will be discarded even if other events occur between the matching (negative) event and the previous matching event (relaxed contiguity):
```
```
...
@@ -1007,17 +1095,18 @@ val notFollowedBy = start.notFollowedBy("not")
...
@@ -1007,17 +1095,18 @@ val notFollowedBy = start.notFollowedBy("not")
```
```
|
| **within(time)** | Defines the maximum time interval for an event sequence to match the pattern. If a non-completed event sequence exceeds this time, it is discarded:
---
模式操作:`within(time)`
描述:Defines the maximum time interval for an event sequence to match the pattern. If a non-completed event sequence exceeds this time, it is discarded: