Autogram checker: Difference between revisions
m
→{{header|Julia}}: len was not a length any more
m (→{{header|Phix}}: removed some trailing spaces in the constant) |
m (→{{header|Julia}}: len was not a length any more) |
||
Line 135:
charcounts = counter(s)
stillneedmention = Dict(p[1] => isletter(p[1]) || p[1] != ' ' && countpunctuation ? p[2] : 0 for p in charcounts)
s = " " * replace(s, r"^\.(?:employs|composed|contains)" => "")
for mention in split(s, r"\s*,|:\s*")
Line 144 ⟶ 143:
c = mention[begin+spos:end]
if c == "letters"
if numfromtext !=
verbose && println("The total letter count (should be $
return false
end
|