Does this version look better? I am not sure if this the right place
to put the new helper, so let me know if there is a better spot for it.
gcc/testsuite/lib/
* prune.exp (prune_file_path): Sanitize path used in regex.
(escape_regex_chars): New.
Signed-off-by: Zachary T
* prune.exp (prune_file_path): Sanitize path used in regex.
Signed-off-by: Zachary T Welch
---
gcc/testsuite/lib/prune.exp | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/lib/prune.exp b/gcc/testsuite/lib/prune.exp
index 8e4c203..3bb477c 100644
--- a/gcc/tes