1.0.13 Removal of bug in special character word parsing
This commit is contained in:
parent
e2b6ef1123
commit
acc3858b27
@ -302,7 +302,7 @@ def outputreturn(*argv):
|
||||
def extract_specialcharacter_words(rawstring, special_characters):
|
||||
wordList = []
|
||||
for word in rawstring.split(' '):
|
||||
if (len(word) != 1 or word==":") and word[-1] in special_characters:
|
||||
if (len(word) not in [0,1] or word==":") and word[-1] in special_characters:
|
||||
wordList.append(word)
|
||||
return wordList
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user