Skip to content

Commit

Permalink
blocks: allow using numbers in programs name
Browse files Browse the repository at this point in the history
Additionally increase maximum program name size
  • Loading branch information
okalachev committed May 25, 2024
1 parent 14c41b2 commit 4d2b685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clover_blocks/src/clover_blocks
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def load(req):
return {'names': [], 'programs': [], 'message': str(e)}


name_regexp = re.compile(r'^[a-zA-Z-_.]{0,20}$')
name_regexp = re.compile(r'^[a-zA-Z1-9-_.]{0,30}$')

def store(req):
if not name_regexp.match(req.name):
Expand Down

0 comments on commit 4d2b685

Please sign in to comment.