We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
\
1 parent 2caacae commit 46a5c54Copy full SHA for 46a5c54
lib/elixir/lib/path.ex
@@ -759,9 +759,9 @@ defmodule Path do
759
You may call `Path.expand/1` to normalize the path before invoking
760
this function.
761
762
- A character preceded by \ loses its special meaning.
763
- Note that \ must be written as \\ in a string literal.
764
- For example, "\\?*" will match any filename starting with ?.
+ A character preceded by `\\` loses its special meaning.
+ Note that `\\` must be written as `\\\\` in a string literal.
+ For example, `"\\\\?*"` will match any filename starting with `?.`.
765
766
By default, the patterns `*` and `?` do not match files starting
767
with a dot `.`. See the `:match_dot` option in the "Options" section
0 commit comments