(value)
| 121 | } |
| 122 | |
| 123 | function compileEventPattern(value) { |
| 124 | const escaped = value.replace(/[|\\{}()[\]^$+?.]/g, "\\$&"); |
| 125 | return new RegExp(`^${escaped.replaceAll("*", ".*")}$`); |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * Generate a correlation identifier using UUIDv4 semantics. |