- May
- 13,584
- 201
Neither Onig or a number of Gnu text utilities are bothered by unbalanced escaped quotes in a regular expression. But TPIPE seems to be. Below, in the second example, I replaced the first \" with just . (dot). What's up with that?
Code:
v:\> echo "foo" | tpipe /replace=4,1,0,1,0,0,0,0,0,"\"(.*)\"","$1"
foo
v:\> echo "foo" | tpipe /replace=4,1,0,1,0,0,0,0,0,".(.*)\"","$1"
TPIPE: The parameter is incorrect.
"".(.*)\"","$1""