Name: Anonymous 2007-03-18 10:40 ID:FDgjf9L5
Pattern findGamesPattern = Pattern.With.Literal(@"<div") .WhiteSpace.Repeat.ZeroOrMore.Literal(@"class=""game""").WhiteSpace.Repeat.ZeroOrMore.Literal(@"id=""")
.NamedGroup("gameId", Pattern.With.Digit.Repeat.OneOrMore)
.Literal(@"-game""")
.NamedGroup("content", Pattern.With.Anything.Repeat.Lazy.ZeroOrMore)
.Literal(@"<!--gameStatus") .WhiteSpace.Repeat.ZeroOrMore.Literal("=").WhiteSpace.Repeat.ZeroOrMore
.NamedGroup("gameState", Pattern.With.Digit.Repeat.OneOrMore)
.Literal("-->");Lol. Lmao. Roffle. I can't even get myself to format it properly. Trying to focus on C# makes my head hurt.
It's like there's a competition of who can make the fucken shittiest, repetitive, dull, soul-crushing programming language and get the most people to use it. It all began with Pascal, then continued with C/C++, then Sun introduced a whole new level of torture with Java, and now even Microsoft entered the competition. I bet the next big programming language will be GoogleLang where every lexeme has the form Gooo...ooogle!
Goooooooooogle! Gooooogle! Goooooooooooooooooooooooogle!