yannrichet / rsession

R sessions wrapping for Java
BSD 2-Clause "Simplified" License
52 stars 31 forks source link

Bug when parsing function with name containing ("length", "dim", ...) #30

Closed nchabalier closed 5 years ago

nchabalier commented 5 years ago

This bug occur for all function of R lib. Example: xlength <- function() {1}

Regex to fix: (\\W*)length\\(", "$1__R.length(

nchabalier commented 5 years ago

Fixed