In python, how do I regex match the "." char in, say, a string representing an address? : <p>I am getting an address string from the client (first I check that it is a string under a certain length), and I have this so far: ^[a-zA-Z0-9 ]+$ but it will fail if the address has a "." char in it. </p>

<p>I want a single regex that also matches if a "." char shows up: the address can only contain spaces, numbers and letters.</p>

<p>Obviously, one can do if "." in address_string, but I am trying to do my check in one regex match.</p>

<p>How do I also escape/search for a "." char in a string?</p>
