patched regex match, although this should be fixed in builtins.rs
@@ -11,7 +11,7 @@ impl @regex {
},
match: #[desc("Checks if the regex matches a string argument")]
(self, match: @string) {
- return $.regex(self.regex, match, "match", null)
+ return $.regex(self.regex, match, "match", "UNUSED")
},
replace: #[desc("Regex replace the contents of a string")]
(self, to_replace: @string, replacer: @string) {
