wip/username-regex #6

Merged
radical merged 4 commits from wip/username-regex into main 2025-05-05 01:16:32 +00:00
Owner
No description provided.
sauceyred added 2 commits 2025-05-03 01:04:58 +00:00
radical was assigned by sauceyred 2025-05-03 01:05:04 +00:00
Owner

needs testing

needs testing
radical requested changes 2025-05-03 23:28:53 +00:00
Dismissed
@ -21,3 +21,2 @@
// FIXME: This regex doesnt seem to be working
static USERNAME_REGEX: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"[a-zA-Z0-9.-_]").unwrap());
static USERNAME_REGEX: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"^[a-z_.-]+$").unwrap());
Owner

numbers dont work with this regex

numbers dont work with this regex
Author
Owner

Added numbers to regex.

Added numbers to regex.
radical marked this conversation as resolved
sauceyred added 1 commit 2025-05-04 21:26:12 +00:00
radical added 1 commit 2025-05-04 21:41:42 +00:00
Author
Owner

Regex works.

Regex works.
radical approved these changes 2025-05-05 01:16:21 +00:00
radical merged commit 135375f5b7 into main 2025-05-05 01:16:32 +00:00
radical deleted branch wip/username-regex 2025-05-05 01:16:32 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: gorb/backend#6
No description provided.