From 26fcec5ae5edb9269f5fb91e2ea4827be05e3a59 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 7 Jun 2021 20:43:43 +0900 Subject: [PATCH] [DOC] fix metacharacter markups [ci skip] --- dir.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dir.rb b/dir.rb index 2c908b957f..91f9c7f5b8 100644 --- a/dir.rb +++ b/dir.rb @@ -144,7 +144,7 @@ class Dir # # *:: # Matches any file. Can be restricted by other values in the glob. - # Equivalent to / .* /mx in regexp. + # Equivalent to /.*/mx in regexp. # # *:: Matches all files # c*:: Matches all files beginning with c @@ -175,7 +175,7 @@ class Dir # Matching literals may be more than one character in length. More than # two literals may be specified. # - # \\ :: + # \\:: # Escapes the next metacharacter. # # Note that this means you cannot use backslash on windows as part of a @@ -222,7 +222,7 @@ class << File # # *:: # Matches any file. Can be restricted by other values in the glob. - # Equivalent to / .* /x in regexp. + # Equivalent to /.*/x in regexp. # # *:: Matches all files regular files # c*:: Matches all files beginning with c @@ -243,7 +243,7 @@ class << File # Matches any one character in +set+. Behaves exactly like character sets # in Regexp, including set negation ([^a-z]). # - # \ :: + # \\:: # Escapes the next metacharacter. # # {a,b}::