Align swift.supports_bare_slash_regex
code with upstream
#1384
+10
−13
swift.supports_bare_slash_regex
code with upstream
#1384