aboutsummaryrefslogtreecommitdiff
path: root/man/man3/tomo-Text.translate.3
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-19 14:48:17 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-19 14:48:17 -0400
commit1663004ff08de9d90338cb3c04bbf45e61477d6b (patch)
tree36f8bdd60f976537c8582769881193169fca1827 /man/man3/tomo-Text.translate.3
parent67fd3c725e6511adf70345f0733ec0b948477a11 (diff)
Minor formatting fixes
Diffstat (limited to 'man/man3/tomo-Text.translate.3')
-rw-r--r--man/man3/tomo-Text.translate.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man3/tomo-Text.translate.3 b/man/man3/tomo-Text.translate.3
index eaca1312..6621a6c9 100644
--- a/man/man3/tomo-Text.translate.3
+++ b/man/man3/tomo-Text.translate.3
@@ -2,19 +2,19 @@
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
-.TH Text.translate 3 2025-04-19T14:30:40.368308 "Tomo man-pages"
+.TH Text.translate 3 2025-04-19T14:48:15.717969 "Tomo man-pages"
.SH NAME
-Text.translate \- Takes a table mapping target texts to their replacements and performs all the replacements in the table on the whole text. At each position, the first matching replacement is applied and the matching moves on to *after* the replacement text, so replacement text is not recursively modified. See [`replace()`](#replace) for more information about replacement behavior.
+Text.translate \- Takes a table mapping target texts to their replacements and performs all the replacements in the table on the whole text. At each position, the first matching replacement is applied and the matching moves on to *after* the replacement text, so replacement text is not recursively modified. See Text.replace() for more information about replacement behavior.
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
-.BI "Text.translate : func(translations: {Text=Text} -> Text)"
+.BI Text.translate\ :\ func(translations:\ {Text=Text}\ ->\ Text)
.fi
.SH DESCRIPTION
-Takes a table mapping target texts to their replacements and performs all the replacements in the table on the whole text. At each position, the first matching replacement is applied and the matching moves on to *after* the replacement text, so replacement text is not recursively modified. See [`replace()`](#replace) for more information about replacement behavior.
+Takes a table mapping target texts to their replacements and performs all the replacements in the table on the whole text. At each position, the first matching replacement is applied and the matching moves on to *after* the replacement text, so replacement text is not recursively modified. See Text.replace() for more information about replacement behavior.
.TS