Talk:Python Programming/RegEx

Meaning of '.'
Under summary there is the statement:

In regex,. matches any single character.

My version of python3.6 on Mac excludes new line.

start: 0 end: 5 group: line1 ThaniosAkro (discuss • contribs) 09:33, 25 October 2019 (UTC)


 * You are correct. "." matches every single character except newline, unless the DOTALL flag is used. -- Dave Braunschweig (discuss • contribs) 13:08, 25 October 2019 (UTC)