@@ 245-249 (lines=5) @@ | ||
242 | if ($this->a === ']') { |
|
243 | break; |
|
244 | } |
|
245 | if ($this->a === '\\') { |
|
246 | $this->output .= $this->a; |
|
247 | $this->a = $this->get(); |
|
248 | $pattern .= $this->a; |
|
249 | } |
|
250 | if ($this->isEOF($this->a)) { |
|
251 | throw new JSMin_UnterminatedRegExpException( |
|
252 | "JSMin: Unterminated set in RegExp at byte " |
|
@@ 260-264 (lines=5) @@ | ||
257 | ||
258 | if ($this->a === '/') { // end pattern |
|
259 | break; // while (true) |
|
260 | } elseif ($this->a === '\\') { |
|
261 | $this->output .= $this->a; |
|
262 | $this->a = $this->get(); |
|
263 | $pattern .= $this->a; |
|
264 | } elseif ($this->isEOF($this->a)) { |
|
265 | $byte = $this->inputIndex - 1; |
|
266 | throw new JSMin_UnterminatedRegExpException( |
|
267 | "JSMin: Unterminated RegExp at byte {$byte}: {$pattern}"); |