diff options
author | konsumlamm <44230978+konsumlamm@users.noreply.github.com> | 2022-02-14 08:50:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 08:50:38 +0100 |
commit | 551225d88808c6029d9246cf2bea5da349d1eb43 (patch) | |
tree | 55f846c200d91e54553f597034e2e94e02eb6d6c /lib | |
parent | ed0dce7292480002be96d0ea5b7775c38767134d (diff) | |
download | Nim-551225d88808c6029d9246cf2bea5da349d1eb43.tar.gz |
Remove backslash in glob pattern (#19524)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/os.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim index 76164bc49..7c0c64276 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -2131,7 +2131,7 @@ iterator walkPattern*(pattern: string): string {.tags: [ReadDirEffect], noWeirdT ## Iterate over all the files and directories that match the `pattern`. ## ## On POSIX this uses the `glob`:idx: call. - ## `pattern` is OS dependent, but at least the `"\*.ext"` + ## `pattern` is OS dependent, but at least the `"*.ext"` ## notation is supported. ## ## See also: @@ -2150,7 +2150,7 @@ iterator walkFiles*(pattern: string): string {.tags: [ReadDirEffect], noWeirdTar ## Iterate over all the files that match the `pattern`. ## ## On POSIX this uses the `glob`:idx: call. - ## `pattern` is OS dependent, but at least the `"\*.ext"` + ## `pattern` is OS dependent, but at least the `"*.ext"` ## notation is supported. ## ## See also: @@ -2167,7 +2167,7 @@ iterator walkDirs*(pattern: string): string {.tags: [ReadDirEffect], noWeirdTarg ## Iterate over all the directories that match the `pattern`. ## ## On POSIX this uses the `glob`:idx: call. - ## `pattern` is OS dependent, but at least the `"\*.ext"` + ## `pattern` is OS dependent, but at least the `"*.ext"` ## notation is supported. ## ## See also: |