rubenarslan / formr.org

Chain simple surveys into longer runs to build complex studies. Use R to generate pretty feedback and complex designs.
https://formr.org
Other
131 stars 36 forks source link

fix: the variable name check is not doing what the error message tells the user #504

Closed red-freak closed 1 year ago

red-freak commented 1 year ago

Currently the regex evaluates if a variable name has 2 letters.

before: The first square brackets test if the name starts with a letter, so we have 1 character. The second square brackets test if there are 1-64 alpha_numerical characters. The in sum 2..65. after: The first square brackets test if the name starts with a letter, so we have 1 character. The second square brackets test if there are 0-63 alpha_numerical characters. The in sum 1..64.

rubenarslan commented 1 year ago

Thanks!