add: allow commas in names

https://tetratto.com/post/182999539626541056
This commit is contained in:
trisua 2025-05-19 19:38:10 -04:00
parent efb259764e
commit 6fa273b9f5
3 changed files with 6 additions and 2 deletions

View file

@ -6,6 +6,8 @@ use crate::{
};
use super::DataManager;
pub const NAME_REGEX: &str = r"[^\w_\-\.,!]+";
impl DataManager {
pub async fn init(&self) -> Result<()> {
let conn = match self.connect().await {