Created Started Finished
By: Tom Sydney Kerckhove <syd@cs-syd.eu>
Split both names into words before matching one against the other Running the rule over nix-ci had it say that gitUserName holds a Username. It does not: a git author's display name is stored there, beside the email it is written with, and a platform username is a different thing. The letters of Username really are the end of gitUserName, which is all the match asked for. What tells the two apart is that one name is two words and the other is one, so both are split now and the type's words have to be the end of the field's. The previous reading took the boundary off the field's letters alone and said so in its own Haddock, which was the mistake: the second splitting it avoided is the one that makes the question answerable. Case still does not matter inside a word, so fooJSONUrl holds a JsonUrl. A run of capitals is one word and gives its last letter to the word after it, which is how JSONUrl is JSON and Url rather than a word per letter. wordsOfName is exported and has a spec of its own, because every match this rule makes now runs through it.