[wp-trac] [WordPress Trac] #20124: Smilies Fail Combinations

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 25 22:34:26 UTC 2012


#20124: Smilies Fail Combinations
--------------------------+-----------------------------------------
 Reporter:  soulseekah    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Formatting    |    Version:  3.3.1
 Severity:  normal        |   Keywords:  smilies, regexp, formatting
--------------------------+-----------------------------------------
 I have found that certain combinations of smilies break the monster of a
 regular expression that parses them.

 {{{
 8-O :-(]
 8-) 8-O
 8-) 8O[
 8-) :-(
 8-) :twisted:
 8O :twisted: :( 8-( :(
 }}}


 ...are some examples where the regular expression appears to be failing to
 match. Any smilie after a smilie with an 8 in it appears to be skipped.
 Will try to pinpoint the flaw in the regexp soon.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20124>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list