Issue Bug Closed

#80229EXT:form - broken regexp in identifer escaping

Martin Kutschker 03/10/17, 18:59 updated 10/17/17, 23:30

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.

Reviews 1