@open-mercato/core 0.6.6-develop.6309.1.983aeec27a → 0.6.6-develop.6313.1.618a49a6b4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -123,6 +123,9 @@ function isSafeWorkflowRegexPattern(pattern: string): boolean {
123
123
  let lastClosedGroup: RegexGroupFrame | null = null
124
124
  let lastAtomWasQuantified = false
125
125
 
126
+ // Hand-written single-pass lexer: `index` is intentionally advanced inside the
127
+ // loop body (escape pairs, `(?:` prefixes, multi-char quantifiers, lazy `?`) on
128
+ // top of the `index += 1` update clause. Do not "simplify" these in-body writes.
126
129
  for (let index = 0; index < pattern.length; index += 1) {
127
130
  const char = pattern[index]
128
131