mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* dir.c (File.fnmatch): fix typo in documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									3759c13742
								
							
						
					
					
						commit
						37a350dbb6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								dir.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								dir.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -2061,7 +2061,7 @@ fnmatch_brace(const char *pattern, VALUE val, void *enc)
 | 
			
		|||
 *
 | 
			
		||||
 *     File.fnmatch('\?',   '?')                       #=> true  # escaped wildcard becomes ordinary
 | 
			
		||||
 *     File.fnmatch('\a',   'a')                       #=> true  # escaped ordinary remains ordinary
 | 
			
		||||
 *     File.fnmatch('\a',   '\a', File::FNM_NOESCAPE)  #=> true  # FNM_NOESACPE makes '\' ordinary
 | 
			
		||||
 *     File.fnmatch('\a',   '\a', File::FNM_NOESCAPE)  #=> true  # FNM_NOESCAPE makes '\' ordinary
 | 
			
		||||
 *     File.fnmatch('[\?]', '?')                       #=> true  # can escape inside bracket expression
 | 
			
		||||
 *
 | 
			
		||||
 *     File.fnmatch('*',   '.profile')                      #=> false # wildcard doesn't match leading
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue