Expand description
find_replace: literal or regex search, optionally replace, over the raw stored strings of
text-bearing block attributes. Matching sees markup: <em>for</em> loops doesn’t match “for loops”.
Structs§
- Find
Replace Request - What a
find_replacecall searches for, where, and what it puts in place of each match. - Find
Replace Result - What a search found and, for a replace, the pages it changed.
- Inflected
Variant - A word that starts with a literal
findbut goes on, and how often it occurs. - Text
Match - An attribute whose text matched, with how many times.
Enums§
Functions§
- attribute_
filters 🔒 - attribute_
selected 🔒 - context_
preview 🔒 - find_
replace - Searches
pagesand, withrequest.replace, replaces every match. Fails without changing anything whenrequest.expected_countdiffers from the matches found. - for_
each_ 🔒text - Strings of one attribute value that count as text: the value itself, or nested
contentstrings (table cells). - for_
each_ 🔒text_ mut for_each_text, for changing the strings in place.