Skip to content

Commit

Permalink
allow dashes in names
Browse files Browse the repository at this point in the history
  • Loading branch information
moonshadow565 committed Jun 3, 2024
1 parent b1126b8 commit 6d34492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ApplicationWindow {

property bool patcherRunning: cslolTools.state === CSLOLTools.StateRunning
property bool isBussy: cslolTools.state !== CSLOLTools.StateIdle
property var validName: new RegExp(/[\p{L}\p{M}\p{Z}\p{N}\w]{3,50}/u)
property var validName: new RegExp(/[\p{L}\p{M}\p{Pd}\p{Z}\p{N}\w]{3,50}/u)
property var validVersion: new RegExp(/([0-9]{1,3})(\.[0-9]{1,3}){0,3}/)
property var validUrl: new RegExp(/^(http(s)?:\/\/).+$/u)
property bool firstTick: false
Expand Down

0 comments on commit 6d34492

Please sign in to comment.