This is a hack to automatically derive a spanAffectsWrapping regexp for a browser. See the comments above that variable in lib/codemirror.js for some more details.
spanAffectsWrapping
lib/codemirror.js