mbrevoort/CodeMirror2-xquery — pull request #18 by clockworked247 (2013-09-20 21:16:34+00:00)
Title: fixed persisting infinite loop on $"

Tested with the following XQuery strings:

$"
---
"^/([\w\d_\-]*)/?(update|create|delete)\.?(\w*)/?$"
---
let $pattern := fn:concat("^$")
---
"\uxxxxx"
---

fn:analyze-string("http://nssdc.gsfc.nasa.gov/ontologies/spacecraft#launchDate"\i\c*$")/s:match/fn:string()
---
matches($path, "^/[^/?#]+/documents/?$")
Try to change "$path" to a new string with double-quotes. Chrome freaks
out, rendering the UI frozen and eventually bringing up the Kill
interface.
---