This is a question from a complete noob. I have the following code:
nb='([- ][0-9]*.[0-9]*E[-+ ][0-9]*)'
nb='([0-9,E.+-]+)'
Is nb overwritten? Or does it do something else?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
nbis now bound to the second string,'([0-9,E.+-]+)'. So your first assignment no longer matters. Remember thatnbis simply a name which now points to the second string after previously pointing to the first one, you are not modifying any strings.