B briansol Well-known member May 30, 2014 #1 I have 2 smilies, one is Code: :p the other is Code: :pop: pop never works, I get psmilieOP: is there a way to make both of these work without changing : p ?
I have 2 smilies, one is Code: :p the other is Code: :pop: pop never works, I get psmilieOP: is there a way to make both of these work without changing : p ?
AndyB Well-known member May 30, 2014 #2 What I did to overcome this situation is to rename to something else. Upvote 0 Downvote
B briansol Well-known member May 30, 2014 #3 yeah, i'd like to keep it though. I have many others like : D , : P : J etc that basically kill half the alphabet. it's almost like the regular expression match needs a $ end check too Upvote 0 Downvote
yeah, i'd like to keep it though. I have many others like : D , : P : J etc that basically kill half the alphabet. it's almost like the regular expression match needs a $ end check too
Mike XenForo developer Staff member May 30, 2014 #4 I can't reproduce this. It should always look for the longest match first. If you remove the :p smiley, can you confirm that :pop: works as expected? Upvote 0 Downvote
I can't reproduce this. It should always look for the longest match first. If you remove the :p smiley, can you confirm that :pop: works as expected?
B briansol Well-known member Jun 2, 2014 #5 Further testing, it seems to fail only on one that has numbers in it. I used pop here only has a quick example. h34r: is one we use... and it won't come out right. but opcorn: does indeed render proper Upvote 0 Downvote
Further testing, it seems to fail only on one that has numbers in it. I used pop here only has a quick example. h34r: is one we use... and it won't come out right. but opcorn: does indeed render proper
Mike XenForo developer Staff member Jun 2, 2014 #6 Sorry, I still can't reproduce this and I don't see any reason for the numbers to make a difference. Upvote 0 Downvote
B briansol Well-known member Jun 4, 2014 #7 I finally figured this out... apparently it doesn't work well when you have two :codes: on one line. hitting enter between them enabled it. :X Upvote 0 Downvote
I finally figured this out... apparently it doesn't work well when you have two :codes: on one line. hitting enter between them enabled it. :X