mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	gh-111259: Document idiomatic RE pattern (?s:.) that matches any character (GH-120745)
This commit is contained in:
		
							parent
							
								
									56657f6be2
								
							
						
					
					
						commit
						a2f6f7dd26
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -101,7 +101,7 @@ The special characters are:
 | 
				
			||||||
``.``
 | 
					``.``
 | 
				
			||||||
   (Dot.)  In the default mode, this matches any character except a newline.  If
 | 
					   (Dot.)  In the default mode, this matches any character except a newline.  If
 | 
				
			||||||
   the :const:`DOTALL` flag has been specified, this matches any character
 | 
					   the :const:`DOTALL` flag has been specified, this matches any character
 | 
				
			||||||
   including a newline.
 | 
					   including a newline.  ``(?s:.)`` matches any character regardless of flags.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. index:: single: ^ (caret); in regular expressions
 | 
					.. index:: single: ^ (caret); in regular expressions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue