stripRegexStraySlashes function

String stripRegexStraySlashes(
  1. String str
)

Removes the leading and trailing escaped slashes (\/) of str.

Implementation

String stripRegexStraySlashes(String str) => stripStray(str, '\\/');