fixed anomalous backslash in string

This commit is contained in:
anancds
2019-03-20 22:05:34 +08:00
parent dd164484a3
commit 9fb76efc35
14 changed files with 17 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ Sentence: access words by index
import re
import reprlib
RE_WORD = re.compile('\w+')
RE_WORD = re.compile(r'\w+')
class Sentence:

View File

@@ -5,7 +5,7 @@ Sentence: iterate over words using a generator function
import re
import reprlib
RE_WORD = re.compile('\w+')
RE_WORD = re.compile(r'\w+')
class Sentence:

View File

@@ -5,7 +5,7 @@ Sentence: iterate over words using a generator function
import re
import reprlib
RE_WORD = re.compile('\w+')
RE_WORD = re.compile(r'\w+')
class Sentence:

View File

@@ -6,7 +6,7 @@ Sentence: iterate over words using a generator expression
import re
import reprlib
RE_WORD = re.compile('\w+')
RE_WORD = re.compile(r'\w+')
class Sentence:

View File

@@ -9,7 +9,7 @@ see: sentence_gen*.py.
import re
import reprlib
RE_WORD = re.compile('\w+')
RE_WORD = re.compile(r'\w+')
class Sentence:

View File

@@ -8,7 +8,7 @@ see: sentence_gen*.py.
import re
import reprlib
RE_WORD = re.compile('\w+')
RE_WORD = re.compile(r'\w+')
class Sentence: