For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine+...@googlegroups.com.
I'm doing this again after a long time (replace semicolon with line break using add column based on this column) and finding that using value.replace with regex throws an error, even though the expression box says 'no syntax error'
Without regex, there is no issue. ie value.replace(';', 'abcd') works fine
however, If I try value.replace(';', /\n/), the expression box indicates no syntax error, but the output is an error :
Error: replace expects 3 strings, or 1 string, 1 regex, and 1 string.
I'm using openrefine v 2.7 rc2
Screenshot below. Any help appreciated!
value.replace(/\s/,"\n")value.split(/\s/,"\n")