nodejs/node

repl: no RegExp side effects

Open

#18.931 aperta il 22 feb 2018

Vedi su GitHub
 (5 commenti) (0 reazioni) (1 assegnatario)JavaScript (35.535 fork)batch import
help wantednever-stalereplstale

Metriche repository

Star
 (117.218 star)
Metriche merge PR
 (Merge medio 18g 17h) (219 PR mergiate in 30 g)

Descrizione

$ ./out/Release/node 
> RegExp.$_
'\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000'

Caused by the repl trying to fix up the side effects to RegExp.$1 toRegExp.$9. :-)

Guida contributor