JS
Size: a a a
JS
G
JS
JS
G
JS
G
G
JS
λ> "foo = 123" =~ [r|^([[:alpha:]]+)[[:space:]]+=[[:space:]]+(.+)$|] :: (String, String, String, [String])
( ""
, "foo = 123"
, ""
,
[ "foo"
, "123"
]
)
JS
JS
G
G
JS
JS
| otherwise = error $ "Не разобран вариант n = " ++ show n