regexhq/filename-regex

Does not account for platform path separator

Opened this issue · 1 comments

paiv commented
'a/b/some\\file'.match(regex());

On *nix this leads to incorrect result of file, where expected was some\file.

thanks for reporting