Skip to content

Commit

Permalink
valum-framework#238 Convert path regex to PRCE2
Browse files Browse the repository at this point in the history
  • Loading branch information
yerodin committed Nov 22, 2022
1 parent 00cdfc7 commit a9474d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/valum-router.vala
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace Valum {
// initialize default types
register_type ("int", /\d+/);
register_type ("string", /\w+/);
register_type ("path", /(?:\.?[\w-\s\/@+~])+/);
register_type ("path", /(?:\.?[\w\-\s\/@+~])+/);
}

/**
Expand Down

0 comments on commit a9474d1

Please sign in to comment.