Closed db4 closed 7 years ago
When I step into a function from another file, I see the following: (note $1) This is introduced by
$1
// FIXME: make sure do not accidently replace "<|a|>" in a string or comment. return line.replace(/^\d+ /, '').replace(/<\|[ab]\|>/, '$1');
in debug.ts. What is the purpose of $1? Why not just replace it with an empty string?
debug.ts
Sorry for the late response.
When I step into a function from another file, I see the following: (note
$1
) This is introduced byin
debug.ts
. What is the purpose of$1
? Why not just replace it with an empty string?