Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

fixed anomalous backslash in string #32

Merged
merged 1 commit into from
Mar 20, 2019
Merged

Conversation

anancds
Copy link
Contributor

@anancds anancds commented Mar 20, 2019

No description provided.

@ramalho ramalho merged commit 6de94c1 into fluentpython:master Mar 20, 2019
@ramalho
Copy link
Member

ramalho commented Mar 20, 2019

Thank you, @anancds ! Although the code did work as I wrote it (because \w is not a valid str escape), it is much better to make it explicit that it is a raw string to be interpreted by the regex functions. PR merged!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy