aboutsummaryrefslogtreecommitdiff
path: root/docs/text.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/text.md')
-rw-r--r--docs/text.md70
1 files changed, 35 insertions, 35 deletions
diff --git a/docs/text.md b/docs/text.md
index 67f65f91..f06c303b 100644
--- a/docs/text.md
+++ b/docs/text.md
@@ -270,41 +270,41 @@ pattern documentation](patterns.md) for more details.
## Text Functions
-- [`func as_c_string(text: Text -> CString)`](#`as_c_string)
-- [`func at(text: Text, index: Int -> Text)`](#`at)
-- [`func by_line(text: Text -> func(->Text?))`](#`by_line)
-- [`func by_match(text: Text, pattern: Pattern -> func(->Match?))`](#`by_match)
-- [`func by_split(text: Text, pattern: Pattern = $// -> func(->Text?))`](#`by_split)
-- [`func bytes(text: Text -> [Byte])`](#`bytes)
-- [`func codepoint_names(text: Text -> [Text])`](#`codepoint_names)
-- [`func each(text: Text, pattern: Pattern, fn: func(m: Match), recursive: Bool = yes -> Int?)`](#`each)
-- [`func ends_with(text: Text, suffix: Text -> Bool)`](#`ends_with)
-- [`func find(text: Text, pattern: Pattern, start: Int = 1 -> Int?)`](#`find)
-- [`func find_all(text: Text, pattern: Pattern -> [Match])`](#`find_all)
-- [`func from(text: Text, first: Int -> Text)`](#`from)
-- [`func from_codepoint_names(codepoints: [Int32] -> [Text])`](#`from_bytes)
-- [`func from_c_string(str: CString -> Text)`](#`from_c_string)
-- [`func from_codepoint_names(codepoint_names: [Text] -> [Text])`](#`from_codepoint_names)
-- [`func from_codepoint_names(codepoints: [Int32] -> [Text])`](#`from_codepoints)
-- [`func has(text: Text, pattern: Pattern -> Bool)`](#`has)
-- [`func join(glue: Text, pieces: [Text] -> Text)`](#`join)
-- [`func split(text: Text -> [Text])`](#`lines)
-- [`func lower(text: Text -> Text)`](#`lower)
-- [`func map(text: Text, pattern: Pattern, fn: func(text:Match)->Text -> Text, recursive: Bool = yes)`](#`map)
-- [`func matches(text: Text, pattern: Pattern -> [Text])`](#`matches)
-- [`func quoted(text: Text, color: Bool = no -> Text)`](#`quoted)
-- [`func repeat(text: Text, count:Int -> Text)`](#`repeat)
-- [`func replace(text: Text, pattern: Pattern, replacement: Text, backref: Pattern = $/\/, recursive: Bool = yes -> Text)`](#`replace)
-- [`func replace_all(replacements:{Pattern,Text}, backref: Pattern = $/\/, recursive: Bool = yes -> Text)`](#`replace_all)
-- [`func reversed(text: Text -> Text)`](#`reversed)
-- [`func slice(text: Text, from: Int = 1, to: Int = -1 -> Text)`](#`slice)
-- [`func split(text: Text, pattern: Pattern = "" -> [Text])`](#`split)
-- [`func starts_with(text: Text, prefix: Text -> Bool)`](#`starts_with)
-- [`func title(text: Text -> Text)`](#`title)
-- [`func to(text: Text, last: Int -> Text)`](#`to)
-- [`func trim(text: Text, pattern: Pattern = $/{whitespace/, trim_left: Bool = yes, trim_right: Bool = yes -> Text)`](#`trim)
-- [`func upper(text: Text -> Text)`](#`upper)
-- [`func utf32_codepoints(text: Text -> [Int32])`](#`utf32_codepoints)
+- [`func as_c_string(text: Text -> CString)`](#as_c_string)
+- [`func at(text: Text, index: Int -> Text)`](#at)
+- [`func by_line(text: Text -> func(->Text?))`](#by_line)
+- [`func by_match(text: Text, pattern: Pattern -> func(->Match?))`](#by_match)
+- [`func by_split(text: Text, pattern: Pattern = $// -> func(->Text?))`](#by_split)
+- [`func bytes(text: Text -> [Byte])`](#bytes)
+- [`func codepoint_names(text: Text -> [Text])`](#codepoint_names)
+- [`func each(text: Text, pattern: Pattern, fn: func(m: Match), recursive: Bool = yes -> Int?)`](#each)
+- [`func ends_with(text: Text, suffix: Text -> Bool)`](#ends_with)
+- [`func find(text: Text, pattern: Pattern, start: Int = 1 -> Int?)`](#find)
+- [`func find_all(text: Text, pattern: Pattern -> [Match])`](#find_all)
+- [`func from(text: Text, first: Int -> Text)`](#from)
+- [`func from_codepoint_names(codepoints: [Int32] -> [Text])`](#from_bytes)
+- [`func from_c_string(str: CString -> Text)`](#from_c_string)
+- [`func from_codepoint_names(codepoint_names: [Text] -> [Text])`](#from_codepoint_names)
+- [`func from_codepoint_names(codepoints: [Int32] -> [Text])`](#from_codepoints)
+- [`func has(text: Text, pattern: Pattern -> Bool)`](#has)
+- [`func join(glue: Text, pieces: [Text] -> Text)`](#join)
+- [`func split(text: Text -> [Text])`](#lines)
+- [`func lower(text: Text -> Text)`](#lower)
+- [`func map(text: Text, pattern: Pattern, fn: func(text:Match)->Text -> Text, recursive: Bool = yes)`](#map)
+- [`func matches(text: Text, pattern: Pattern -> [Text])`](#matches)
+- [`func quoted(text: Text, color: Bool = no -> Text)`](#quoted)
+- [`func repeat(text: Text, count:Int -> Text)`](#repeat)
+- [`func replace(text: Text, pattern: Pattern, replacement: Text, backref: Pattern = $/\/, recursive: Bool = yes -> Text)`](#replace)
+- [`func replace_all(replacements:{Pattern,Text}, backref: Pattern = $/\/, recursive: Bool = yes -> Text)`](#replace_all)
+- [`func reversed(text: Text -> Text)`](#reversed)
+- [`func slice(text: Text, from: Int = 1, to: Int = -1 -> Text)`](#slice)
+- [`func split(text: Text, pattern: Pattern = "" -> [Text])`](#split)
+- [`func starts_with(text: Text, prefix: Text -> Bool)`](#starts_with)
+- [`func title(text: Text -> Text)`](#title)
+- [`func to(text: Text, last: Int -> Text)`](#to)
+- [`func trim(text: Text, pattern: Pattern = $/{whitespace/, trim_left: Bool = yes, trim_right: Bool = yes -> Text)`](#trim)
+- [`func upper(text: Text -> Text)`](#upper)
+- [`func utf32_codepoints(text: Text -> [Int32])`](#utf32_codepoints)
### `as_c_string`