Strip punctuation in make_name
Bug #356549 reported by
Paul Everitt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KARL3 |
Fix Released
|
Medium
|
Chris Rossi |
Bug Description
When we make a __name__, we call a helper make_name (or make_unique_name). This has some little rules about replacing spaces with dashes, etc.
We need to also strip out punctuation, e.g. no "?" question marks.
I wrote the code in that function and it sucks. It is a sequence of .replace. A regex could likely do it better.
Changed in karl3: | |
assignee: | nobody → chris-archimedeanco |
importance: | Undecided → Low |
milestone: | none → m9 |
Changed in karl3: | |
importance: | Low → Medium |
Changed in karl3: | |
status: | New → In Progress |
Changed in karl3: | |
status: | In Progress → Fix Committed |
Changed in karl3: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.