Jump to content

Words containing "the" substring: Difference between revisions

→‎{{header|BCPL}}: fix off by one bug caused by also counting the newline
(Add BCPL)
(→‎{{header|BCPL}}: fix off by one bug caused by also counting the newline)
Line 384:
$)
 
// We need to test for a length of 12 rather than 11,
let match(word) = word%0 > 11 & contains(word,"the")
// because the newline character is included.
let match(word) = word%0 > 1112 & contains(word,"the")
 
let start() be
Line 399 ⟶ 401:
{{out}}
<pre style='height:50ex;'>authenticate
brotherhood
calisthenic
chemotherapy
chrysanthemum
clothesbrush
clotheshorse
clothesline
earthenware
endothelial
endothermic
eratosthenes
featherbedding
featherbrain
featherweight
furtherance
furthermore
furthermost
gaithersburg
grandfather
grandmother
hydrothermal
kinesthesis
leatherback
leatherneck
leatherwork
lighthearted
mathematician
netherlands
netherworld
neurasthenic
nevertheless
nonetheless
northeastern
northernmost
otherworldly
parasympathetic
parentheses
parenthesis
parenthetic
physiotherapist
physiotherapy
Line 444 ⟶ 425:
psychotherapy
radiotherapy
smithereens
southeastern
southernmost
sympathetic
thenceforth
theoretician
therapeutic
thereabouts
theretofore
weatherbeaten
weatherproof
2,115

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.