Smiley test
Testing smilies.
I think I got it fixed – the problem is that “/” is used as delimiter of regular expression, and if “/” is part of a smiley’s pattern, the whole thing is broken.
So I’m defining a delimiter variable in wp-includes/functions.php, in function smilies_init(), and use a character that can never be used (well, sort of) – I’m using “\001″ for now. Then replace all occurrences of “/” with $delimiter while composing $wp_smiliessearch, and that’s it.
Only open issue, which I don’t think it is related, is that two continuous
will have only one shows up, still debugging …
| :@) | |
=P~ | |
=p~ | |
>:P | |
>:p | |
| :-/ | |
@-) | |
:-" | |
%-( | |
[-X | |
| [-x | |
:-@ | |
:D | |
:d | |
:-D | |
| :-d | |
:| | |
:-| | |
=)) | |
;;) | |
| I-) | |
i-) | |
:* | |
:-* | |
:"> | |
| :-& | :-& | :)] | |
:-SS | |
:-ss | |
:-sS | |
| :-Ss | |
~O) | |
~o) | |
**== | |
@};- | |
| :-< | |
>:) | |
[-O< | |
[-o< | |
b-( | |
| B-( | |
:^o | |
:^O | |
;)) | |
:-w | |
| :-W | |
:-S | |
:-s | |
:-j | |
:-J | |
| :-t | |
:-T | |
>:D< | |
>:d< | |
(%) | |
| O:) | |
o:) | |
O:-) | |
o:-) | |
L-) | |
| l-) | |
%%- | |
:)) | |
:-)) | |
:O | |
| :o | |
:-O | |
:-o | |
o=> | |
O=> | |
| :) | |
:-) | |
:-B | |
:-b | |
(~~) | |
| ^:)^ | |
=; | |
:-L | |
:-l | |
:> | |
| :-> | |
B-) | |
b-) | |
:-c | |
:-C | |
| :-? | |
(*) | |
<):) | |
=(( | |
:-h | |
| :-H | |
>:/ | |
=:) | |
:o3 | |
:O3 | |
| 8-> | |
:-?? | |
~:> | |
[-( | |
:O) | |
| :o) | |
/:) | |
#:-s | |
#:-S | |
8-| | |
| 8-} | |
:P | |
:p | |
:-P | |
:-p | |
| (:| | |
=D> | |
=d> | |
:(( | |
:-(( | |
| :( | |
:-( | |
:)>- | |
\:D/ | |
\:d/ | |
| 3:-O | |
3:-o | |
>-) | |
8-X | |
8-x | |
| :-$ | |
$-) | |
:(|) | |
;) | |
;-) | |
| <:-P | |
<:-p | |
:x | |
:X | |
:-x | |
| :-X | |
X( | |
x( | |
X-( | |
x-( | |
| o-> | |
O-> | |
*-:) | |
~X( | |
~x( | |
| #-o | |
o-+ | |
O-+ | |