Genesis Forums
https://www.genesismud.org/forums/

Apostrophe in Trigger Patterns
https://www.genesismud.org/forums/viewtopic.php?f=38&t=4504
Page 1 of 1

Author:  Shanoga [ 24 Jul 2018 23:20 ]
Post subject:  Apostrophe in Trigger Patterns

I was helping Rangar out with a trigger to do some color-coding in the webclient and we ran into quite an issue. After a week of trying to fix it by proxy via mobile, I finally hopped on and figured out what was the problem....

When attempting to capture an apostrophe from the client, it has to be captured as the HTML code:
Code:
'


Needless to say, this led to some frustration before we figured it out. Keep in mind, this is the case only for apostrophes as far as I can tell (commas, question marks, periods, exclamation points, and colons for sure operate normally), but it does impacyt Regexp patterns and Text patterns. This has to mean that somewhere the browser is translating the apostrophe to the HTML code above.

I would assumed this is a webclient issue, but I'm not sure.

Author:  Rangar [ 25 Jul 2018 08:50 ]
Post subject:  Re: Apostrophe in Trigger Patterns

Thank you for your input, Shanoga - I really appreciate it. I have yet to find a nicer and more helpful coder, both on Genesis and in RL ;)

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/