Skip to main content

get_substitution

Function get_substitution 

Source
fn get_substitution(
    it: &mut Interp,
    matched: &str,
    s16: &[u16],
    position: usize,
    captures: &[Value],
    named: &Value,
    template: &str,
) -> Result<String, Value>
Expand description

GetSubstitution(§22.1.3.19.1)。位置は UTF-16 単位。