View Single Post
  #3  
Old Feb 21, 2021, 06:39 PM
cal's Avatar
cal cal is offline
VGMdb Staff
 
Join Date: May 2011
Posts: 2,740
Default

This is neat! Thanks for sharing @btown.

There does seem to be a few issues with partial matching: https://vgmdb.net/album/29563, https://vgmdb.net/album/27541
- In the first example, the "uno" in "Yoshimi Youno" gets matched.
- In the second example, "Daisensei Muroya Strings" gets matched "Daisensei Muroya".

There's also an issue with artists with asterisks in their name: https://vgmdb.net/album/17346, https://vgmdb.net/album/24648
- In the first example, "P*Light" is displayed as "P*P*Light".
- In the second example "DECO*27" doesn't get matched at all.

Also, this artist named "3" breaks the script and causes html to be displayed: https://vgmdb.net/album/105736


But aside from that, it seems to work alright. I'm guessing most, if not all, of those could be fixed with a more refined regex function.

Last edited by cal; Feb 21, 2021 at 06:52 PM.
Reply With Quote