tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
RegExpT.replaceLast
tango
text
Regex
RegExpT
Returns a copy of the input with the last match replaced by replacement.
class
RegExpT
(char_t)
char_t
[]
replaceLast
(
const
(
char_t
)[]
input
,
const
(
char_t
)[]
replacement
,
char_t
[]
output_buffer
= null
)
Meta
Source
See Implementation
tango
text
Regex
RegExpT
aliases
charclass_t
predicate_t
tdfa_t
tnfa_t
constructors
this
functions
compileToD
match
opApply
opIndex
pattern
post
pre
replaceAll
replaceFirst
replaceLast
search
split
tagCount
test
static functions
opCall
variables
last_start_
next_start_
registers_
tdfa_
tnfa_
Returns a copy of the input with the last match replaced by replacement.