$bfind(&binvar, start-position, [end-position], [name], pattern).regex
Returns the starting position of the first found match
&binvar
The bvar to search
start-position
The starting position of which the search should begin
Must be an integer value
end-position - Optional
The end position of which the search should stop
Must be an integer value
name - Optional
The regex-name to use when referencing the match list via $regml()
Must not be a numerical value
pattern
The regex pattern
.regex
Indicates a regex pattern has been specified
$breplace(&binvar, substring, newstring...)
$breplace(&binvar, substring, newstring...).cs
Performs a text-based in-place substitution on a binary variable
Returns the number of substitutions made
if .cs is specified, the search will be case-sensitive
$breplace([name], &binvar, pattern, subtext).regex
Performs a regex-based in-place substitution on a binary variable
Returns the number of substitutions made
You can assign a name to a $breplace().regex call which you can use later in $regml() to retrieve the list of matches.
$regml([name], n, [&binvar])
$regmlex([name], m, n, [&binvar])
Similar to the current implementation except the result is output to the specified &binvar
If outputting to a &binvar, the length of the bvar is returned