afc::Tokeniser: redundant copying of the input string is avoided where possible.