> characters that are special to the regex engine
Namely, \, the escape character itself. So you need to escape the escape: \\.
In reply to Re^2: Problem with regex substitution within windows paths
by halfcountplus
in thread Problem with regex substitution within windows paths
by jmb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |