1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/fileutils
Milas Bowman 195558de5a pkg/fileutils: escape additional regex meta characters
There were a couple characters being explicitly escaped, but it
wasn't comprehensive.

This is now the set difference between the Golang regex meta
characters and the `filepath` match meta characters with the
exception of `\`, which already has special logic due to being
the path separator on Windows.

Signed-off-by: Milas Bowman <milasb@gmail.com>
2021-10-22 11:31:11 -04:00
..
fileutils.go pkg/fileutils: escape additional regex meta characters 2021-10-22 11:31:11 -04:00
fileutils_darwin.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fileutils_test.go pkg/fileutils: escape additional regex meta characters 2021-10-22 11:31:11 -04:00
fileutils_unix.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fileutils_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00