Closed GoogleCodeExporter closed 8 years ago
I build de fix
chage the lines:
for(var index = 0, start = 0;
tmp.match(macthTxt)
&& (tmp = tmp.replace(macthTxt, ""))
&& index <= diff;
index = start + text.length
)
To:
var macthTxt;
if ((text == "\\") || (text == "(") ||
(text == ")") || (text == "*") ||
(text == "?") || (text == "+") ||
(text == ".") || (text == "[") ||
(text == "]"))
{
macthTxt="\\"+text;
} else {
macthTxt=text
}
for(var index = 0, start = 0;
tmp.match(macthTxt)
&& (tmp = tmp.replace(macthTxt, ""))
&& index <= diff;
index = start + text.length
)
I had attache de fixed TextField File
Original comment by bozo...@gmail.com
on 11 Sep 2008 at 8:58
Attachments:
Added code to SVN.
Original comment by mlim1...@gmail.com
on 18 Sep 2008 at 4:47
Original issue reported on code.google.com by
bozo...@gmail.com
on 11 Sep 2008 at 5:05