Skip to content

Commit d6d72dd

Browse files
authored
practice-exercise-generator: Remove alphanumeric chars except '-' (#433)
fixes #431
1 parent fda7741 commit d6d72dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/practice-exercise-generator.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Each hash-table has the keys:
171171
("test-name"
172172
(string-inflection-kebab-case-function
173173
(replace-regexp-in-string
174-
"," ""
174+
"[^[:alpha:]-]" ""
175175
(replace-regexp-in-string
176176
"[ |_]" "-" (gethash "description" elem)))))
177177
("uuid" (gethash "uuid" elem))

0 commit comments

Comments
 (0)