dmarkdown.string

Utility functions for string processing

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'.

matchBracket
sizediff_t matchBracket(string str, bool nested = true)

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

Meta

Authors

Sönke Ludwig

License

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