newxml.faststrings

This module implements fast search and compare functions on slices. In the future, these may be optimized by means of aggressive specialization, inline assembly and SIMD instructions.

Members

Functions

checkStringBeforeChr
bool checkStringBeforeChr(T[] haysack, S[] needle, S before)
Undocumented in source. Be warned that the author may not have intended to support it.
xmlEscape
T[] xmlEscape(T[] str)

Returns a copy of the input string, after escaping all XML reserved characters.

xmlEscapedWrite
void xmlEscapedWrite(Out output, T[] str)

Writes the input string to the given output range, after escaping all XML reserved characters.

xmlPredefinedEntities
auto xmlPredefinedEntities()
Undocumented in source. Be warned that the author may not have intended to support it.
xmlUnescape
T[] xmlUnescape(T[] str, U replacements)

Returns a copy of the input string, after unescaping all known entity references.

xmlUnescape
T[] xmlUnescape(T[] str)
Undocumented in source. Be warned that the author may not have intended to support it.
xmlUnescapedWrite
void xmlUnescapedWrite(Out output, T[] str, U replacements)

Outputs the input string to the given output range, after unescaping all known entity references.

Meta