Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Card-Forge/forge
/ normalize_name
Function
normalize_name
forge-gui/tools/ScriptScraper.py:15–16 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
13
cards = 0
14
15
def
normalize_name(name):
16
return
name.lower().replace(
' '
,
'_'
).replace(
"'"
,
''
).replace(
','
,
''
).replace(u
'\xc6'
,
'AE'
)
17
18
19
#allCards = file(os.path.join(folder, 'allcards.txt'), 'w')
Callers
1
ScriptScraper.py
File · 0.70
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected