250 |
// FIXME: Possibly more characters we need to ignore/ |
// FIXME: Possibly more characters we need to ignore/ |
251 |
// Also, implementation may be inefficent because allocating |
// Also, implementation may be inefficent because allocating |
252 |
// new Strings. |
// new Strings. |
253 |
str = Pattern.compile("[\b | \t | \n | \f | \r | \" | \']").matcher(str).replaceAll(""); |
str = Pattern.compile("[\b|\t|\n|\f|\r|\"|\']").matcher(str).replaceAll(""); |
254 |
drawString(getFontPeer(), str, x, y); |
drawString(getFontPeer(), str, x, y); |
255 |
} |
} |
256 |
|
|