#270 Smilie ^^

open
nobody
None
5
2012-03-29
2009-12-19
Someone
No

Simple problem.
The smilie ^^ dowesnt work!

The fix would be:
Goto this code (logfile.pm)

                # Who smiles the most?
                my $e = '[8;:=%]'; # eyes
                my $n = '[-oc*^]'; # nose
                # smileys including asian-style (^^ ^_^' ^^; \o/)
                if ($saying =~ /(>?$e'?$n[\)pPD\}\]>]|[\(\{\[<]$n'?$e<?|[;:][\)pPD\}\]\>]|\([;:]|\^[_o-]*\^[';]|\\[o.]\/)/o) {

add a * to the expression:
if ($saying =~ /(>?$e'?$n[)pPD}]>]|[({[<]$n'?$e<?|[;:][)pPD}]>]|([;:]|\^[_o-]\^[';]|\[o.]\/)/o) {

fix'd

It would be nice, if you fixed it in the release.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks