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.
I don't understand why people keep insisting on Chrome? Why is it so damn hard to just switch to Firefox? Or if you really can't let go Chromium, there's Vivaldi or Brave, alternatively even Opera. They all have built-in adblock that doesn't give a s**t about Google's rules. But ultimately, just go with Firefox. I never have any issues with webpages and with those that I do are usually broken because of my extensive ad and trackers blocking and not because Firefox in itself wouldn't work with those pages. And even those are super rare.
Was it EA that tried this before? Something about the sports games and their banners being constantly updated in the game? And didn't we balk at that the first time round?
Ah well, keep pushing until your tunnel collapses I guess.
Apple should release a rumour that they are going to make their next flagship a circle so that Samsung can copy it quickly and release it "before Apple do as we are visionaries!!!11 /drool"
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