Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

譜面自体のバリデーション #10

Open
mizucoffee opened this issue Nov 9, 2018 · 6 comments
Open

譜面自体のバリデーション #10

mizucoffee opened this issue Nov 9, 2018 · 6 comments
Assignees
Labels
メタ解析 メタ解析部 将来的 いつか実装したいね 新機能 IYHに近い

Comments

@mizucoffee
Copy link
Owner

No description provided.

@mizucoffee
Copy link
Owner Author

スペースの許容等

@mizucoffee mizucoffee self-assigned this Nov 9, 2018
@mizucoffee mizucoffee added 新機能 IYHに近い メタ解析 メタ解析部 labels Nov 9, 2018
@mizucoffee
Copy link
Owner Author

各種類(6桁5桁、ハイスピ構文等)の正規表現用意したい

@mizucoffee
Copy link
Owner Author

mizucoffee commented Nov 10, 2018

5桁のバリデーション

/^#\d{3}[1|5][0-9a-fA-F]:(\s*[0-9a-zA-Z][0-9a-gA-G])+\s*$/

6桁のバリデーション

/^#\d{3}[2-4][0-9a-fA-F][0-9a-zA-Z]:(\s*[0-9a-zA-Z][0-9a-gA-G])+\s*$/

@mizucoffee
Copy link
Owner Author

BPM定義行のバリデーション

/^#BPM\d{2}:\s*([0-9\.]+)\s*$/

BPM変更行のバリデーション

/^#\d{3}08\s*(\d+)\s*$/

@mizucoffee
Copy link
Owner Author

メタデータのバリデーション

/^#[a-zA-Z]+\s+"?([^"]+)"?\s*$/

@mizucoffee
Copy link
Owner Author

susの正式な仕様が固まるまで待機

@mizucoffee mizucoffee added the 将来的 いつか実装したいね label Dec 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
メタ解析 メタ解析部 将来的 いつか実装したいね 新機能 IYHに近い
Projects
None yet
Development

No branches or pull requests

1 participant