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.
They've told outlets who got review units that it isn't. Partially because they believe that contributes to closed ecosystems. GamersNexus also believes this is because Valve's fighting a monopolistic practices lawsuit in Europe right now. They've also never subsidized any of their past hardware efforts and well, they definitely aren't subsidizing the Steam Deck right now.
(macOS) Screen zoom was broken for me in beta 1 and it's now working properly in beta 2. In terms of performance and UI design/consistency, these betas are already much better than Tahoe.
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