It is used with quake 3 which uses ^ and a number to change the colour of characters. The code above works, but I need to add funny characters such as *{}
Right now those characters are not colour coded and it skips over other characters that follow.
EDIT: It actually seems to be a bug and now I'm not sure what to do...
It seems the one guy is using letters instead of numbers to change the colours.
That is the thing, how many of these people don't realise they are using AI? If they use Google Search they have no choice but to use AI. So yes, maybe half of American adults do use and I expect a lot of Uk adults do to, but I bet most of them don't realise it.
Myself, i avoid the rubbish.
Question
DPyro
I got the following code I need to modify:
It is used with quake 3 which uses ^ and a number to change the colour of characters. The code above works, but I need to add funny characters such as *{}
Right now those characters are not colour coded and it skips over other characters that follow.
EDIT: It actually seems to be a bug and now I'm not sure what to do...
It seems the one guy is using letters instead of numbers to change the colours.
Here is the array:
[6] => Array
(
[frags] => 0
[ping] => 61
[nick] => ^p*^a{^pC^aH^pS^a}^p*^aU^pnb^aR
[gq_name] => ^p*^a{^pC^aH^pS^a}^p*^aU^pnb^aR
[gq_score] => 0
[gq_ping] => 61
)
[13] => Array
(
[frags] => 117
[ping] => 51
[nick] => ^2*{^8CHS^2}*^8^2!^8<^2!^8N^2
[gq_name] => ^2*{^8CHS^2}*^8^2!^8<^2!^8N^2
[gq_score] => 117
[gq_ping] => 51
)
[/CODE]
Link to comment
https://www.neowin.net/forum/topic/1106349-need-help-with-regex/Share on other sites
6 answers to this question
Recommended Posts