Apply an operation to a String to make it a String with similar meaning. This is needed for new code which indicates the orbit number, but the orbit number context is provided elsewhere on the plot. https://calvinandhobbes.fandom.com/wiki/Transmogrifier_Gun?file=CalvinTransmogrifierGunWeb.jpg A regular expression specifies the text to look for in strings, and the result is reformatted using a result template string. The transmogrify method will convert the input string to the template, so for example:
%{@code
st= StringTransmogrifier('([a-z]+)=([0-9]+)','$1:$2')
st.transmogrify('cat=1') # results in 'cat:1'
}
Create a regex-based transmogrifier. The result is the template which is populated from groups of the regular expression. The groups can be referenced by index or by name, with
replace all matches of the regex in string with result.
Transmogrify the string, and if it does not match the regex, then an IllegalArgumentException is thrown.
Transmogrify the string, and if it does not match the regex, then return err.
err string