View Problem

Check if a string contains a match to a regular expression

Display "ok" if "abc 123 @#$" matches /\d+/
DiskEdit
clojure
(if (re-find #"\d+" "abc 123 @#$")
(println "ok"))

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