mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-01 02:18:27 +02:00
Removed non utf-8 characters
This commit is contained in:
@@ -7,7 +7,7 @@ INFILE = '/home/mwolf/Documents/dungeons_and_dragons/spells.json'
|
||||
data = json.load(open(INFILE, mode='r'))
|
||||
|
||||
components_re = re.compile('([VSM])?[, ]*([VSM])?[, ]*([VSM])?[, ]*'
|
||||
'(?:\(([-a-zA-Z ,.0-9;’—()]+)\))?')
|
||||
'(?:\(([-a-zA-Z ,.0-9;'-()]+)\))?')
|
||||
|
||||
def parse_components(string):
|
||||
result = components_re.match(string)
|
||||
|
||||
Reference in New Issue
Block a user