Index: src/mirror-debugger.js |
diff --git a/src/mirror-debugger.js b/src/mirror-debugger.js |
index be068ee7f8b88bf6eca5b2a265ec370b7c6e03ce..a27a790c2c36e98cd1d3d0d35e4b8e750a4985ae 100644 |
--- a/src/mirror-debugger.js |
+++ b/src/mirror-debugger.js |
@@ -1274,6 +1274,15 @@ RegExpMirror.prototype.sticky = function() { |
}; |
+/** |
+ * Returns whether this regular expression has the unicode (u) flag set. |
+ * @return {boolean} Value of the unicode flag |
+ */ |
+RegExpMirror.prototype.unicode = function() { |
+ return this.value_.unicode; |
+}; |
+ |
+ |
RegExpMirror.prototype.toText = function() { |
// Simpel to text which is used when on specialization in subclass. |
return "/" + this.source() + "/"; |