View Problem

Check if a string matches a regular expression

Display "ok" if "Hello" matches /[A-Z][a-z]+/
ExpandDiskEdit
fantom
if (Regex<|[A-Z][a-z]+|>.matches("Hello"))
echo("ok")

Submit a new solution for fantom
There are 24 other solutions in additional languages (clojure, cpp, csharp, erlang ...)