Corrected a typo in the string.inc file. (bug 4207, r=fyren)
Corrected a typo in the string.inc file. (
bug 4207, r=fyren)
1.1 --- a/plugins/include/string.inc Sat Feb 13 01:13:43 2010 -0500
1.2 +++ b/plugins/include/string.inc Sat Feb 13 01:49:39 2010 -0500
1.3 @@ -379,7 +379,7 @@
1.4
1.5 /**
1.6 * Strips a quote pair off a string if it exists. That is, the following
1.7 - * replace rule is applied once: $"(.*)"^ -> $\1^
1.8 + * replace rule is applied once: ^"(.*)"$ -> ^\1$
1.9 *
1.10 * Note that the leading and trailing quotes will only be removed if both
1.11 * exist. Otherwise, the string is left unmodified. This function should