dmarkdown.string

Utility functions for string processing

Public Imports

std.string
public import std.string;
Undocumented in source.

Members

Functions

allOf
bool allOf(string str, string chars)

Checks if all characters in 'str' are contained in 'chars'.

anyOf
bool anyOf(string str, string chars)

Checks if any character in 'str' is contained in 'chars'.

indexOfCT
ptrdiff_t indexOfCT(Char[] s, dchar c, CaseSensitive cs)
Undocumented in source. Be warned that the author may not have intended to support it.
matchBracket
sizediff_t matchBracket(string str, bool nested)

Finds the closing bracket (works with any of '[', '(', '<', '{').

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Sönke Ludwig