[Haskell-beginners] how to check the format of a string ?

Roelof Wobben r.wobben at home.nl
Sun Feb 22 18:50:11 UTC 2015


Hello,

Im still busy with CIS 194

Now im facing this problem.

There is a log file of strings.

Most of them are of this format   char  Number [chars]

What is the best way to check if the string has this format ?

Regex or another way ?

Roelof



More information about the Beginners mailing list