변환 스크립트 동작 변경, 환상향 시나리오 적용

This commit is contained in:
2018-05-29 01:28:03 +09:00
parent d9f6f7956e
commit c337ff2f67
9 changed files with 1066 additions and 693 deletions
+3 -2
View File
@@ -39,8 +39,9 @@ function loadScenarios(){
$.each(result.scenario, function(idx, value){
var title = value.title || "-";
var titles = title.split(/【|[0-9]*】/);
var category = titles.length>2?titles[1]:'-';
var pat = /【(.*?)[0-9\-_\.a-zA-Z]*】/;
var category = pat.exec(title);
category = category?category[1]:'-';
value.title = title;
value.category = category;