|
|
| |
1. How to use * and % |
|
Reply |
|
|
 Calinescu Alex | 2008-09-03 13:55:26 |
| You could replace "*" and "%" with let's say "{ASTERISK}" and "{PERCENT}" at the begining, before you start censoring, and at the end, when outputing, convert them back to the orignial characters, just an idea :) |
| |
2. Re: How to use * and % |
|
Reply |
|
|
 Calinescu Alex | 2008-09-03 14:00:13 - In reply to message 1 from Calinescu Alex |
And also, in this functions...
<?php
function attach_beginning($stem, $beginning, $replacement)
{
return $beginning.$stem;
}
?>
The $replacement argument is not used, just a heads up. |
| |
3. Re: How to use * and % |
|
Reply |
|
|
 sk89q | 2008-09-04 02:03:18 - In reply to message 1 from Calinescu Alex |
| I'll look into a way to put literal characters (maybe that, if I'm feeling lazy =)..). I rolled this for my own chat months ago, so I didn't bother putting in anything I didn't need. |
| |
4. Re: How to use * and % |
|
Reply |
|
|
 sk89q | 2008-09-04 02:04:14 - In reply to message 2 from Calinescu Alex |
| I'll look into that too. It was something I tossed in for future's sake when I was releasing this class. |
|