View Single Post
Old 03-01-2025, 09:43 AM   #61
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,739
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by DiapDealer View Post
[...]all of the functionality can be coded within the custom replace. Unless I'm missing something else.
Unless I'm missing something it's currently not possible to add additional replace functions that don't use one of the predefined custom functions e.g. replace_uppercase, replace_lowercase etc.

Let's take a trivial, rather contrived example. How would a user write a custom function that wraps certain words in a <span> tag with the search expression as a title attribute?

Find:(word1|word2|word3)

The result should be <span title="word1">word1</span>.
Doitsu is offline   Reply With Quote