#80229EXT:form - broken regexp in identifer escaping
Description
In a character class the dash must be final to match.
So this /[^a-zA-Z0-9-_]/ should be /[^a-zA-Z0-9_-]/
Sidenote:
To avoid multiple underscores in a row /[^a-zA-Z0-9_-]+/ could be used.