1,230,232
clicked '
Ask Pex!
'
Sign In
Random Puzzle
Learn
APCS
New
C#
Visual Basic
F#
The code is a puzzle.
Do you understand what the code does? Click
Ask Pex!
to find out.
using System; using System.Text.RegularExpressions; public class Program { public static void Puzzle(string s) { if (Regex.IsMatch(s, "^Hello +World$")) { // What value of s matches the regex? Ask Pex to find out! Console.WriteLine("Pex says " + s); } } }
Permalink
Coding Duel Name:
Help
Community
Live Feed
About
© 2013 Microsoft - Pex v0.94 - .NET v4 -
Terms of Use
-
Privacy