SpawnPoint

My Blog

Wayetender and Site Improvements

Waye worked hard tonight on a problem he certainly didn't even want to come close to tackling.. it sure as hell wasn't fun and he is very proud of his regex expression that he came up with to resolve the problem.  I do believe he spent 3 hours to write the following..

preg_replace("/<{$tag} (.*?){$attr}=[\\\"'].*?[\\\"'](.*?)>/i", '<' . $tag . ' \\1 \\2 >', $input);

Luckily, this can be expressed in more human terms to categorize the understanding of this eloquent piece of problem solving. As it might be said to the laymen;

Using hungarion notation and globalized regex variables, we are expressely managing the float operation of an nvarchar type identifier. I find that this np(x+1) type operand serves us best within the dynamic schema we have defined.

There ya go.. everyone understands now, right?

Comments »

Wayetender @ 2007-08-15 01:28:56
Yep, that's in it in a nutshell.

Labec @ 2007-08-15 01:32:09
opensource ftw

Skydavo @ 2007-08-15 03:31:27
?????? waddahellishetalkingabout ??????
Normal humans like me who didn't understand a single thing he said can just hit "play CS:S" once again and join me on some of the spawnpoint servers ;-)

Raven @ 2007-08-15 07:16:15
I understand....that means "42" in our language doesn't it? :D

weaver @ 2007-08-15 10:24:58
For the clueless who will try to figure out Raven's response... see the following for wisdom and enlightenment.

http://en.wikipedia.org/wiki/The_Answer_to_Life,_the_Universe,_and_Everything

Also - to get there - go to GOOGLE.com - type '42' in search.. then hit 'Feeling lucky'.

Have a lovely day.

TJ1adam12 @ 2007-08-16 09:32:53
I'm guessing that translates into my being able to have paragraphs now, lol.

weaver @ 2007-08-16 12:59:09
There ya go ;) Bright side of things.

Scro @ 2007-08-17 10:47:59
All I want to know is if it is patentable.

Alpha23 @ 2007-08-17 12:45:02
Is that the construction formula for the perfect cs:s player???
*confused look*

Wayetender @ 2007-08-21 01:44:35
On a sad note, that statement no longer lives on the Spawnpoint servers; but one of its descendants does.

To help curb the depression, I'll give you this bit from a funny esoteric programming language (the name I will not mention):

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++
.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.

When run, it will print out "Hello World!" to the screen.

weaver's Profile Image
  • weaver

    Management Team
  • Member Since:2005-11-09 17:46:00
  • Last Online:2008-08-01 09:47:48

SpawnPoint Info

Blog Stats:

  • Total Blogs: 101
  • Popular Blogs: 100

My Games

Lineage II: The Chaotic Chronicle [PC]

Lineage II: The Chaotic Chronicle [PC]

Lineage II, which takes place in the medieval fantasy world of Aden, offers a dynamic 3-D setting dr...

World of Warcraft [PC]

World of Warcraft [PC]

Four years have passed since the aftermath of Warcraft III: Reign of Chaos, and a great tension now ...

Avencast: rise of the Mage [PC]

Avencast: rise of the Mage [PC]

Avencast: Rise of the Mage" is a new Role Playing Game set in a perilous fantasy world that wil...

STEAM [PC]

STEAM [PC]

Fast access to games: The full Steam library and all future Steam releases are at your fingertips. ...

Elf Online [PC]

Elf Online [PC]

ELF Online Most Creative Systems ELF Online absorbed many trendy elements, comedy features and chan...

Perfect World [PC]

Perfect World [PC]

Perfect World Perfect World is a cutting edge fantasy massively multiplayer gaming experience, of...

SpawnPoint: Game File Community featuring PC Video Gaming, Free PC Games, Counter-Strike, Action And Strategy Files, Game Forums and Game News