Skip to content

Commit

Permalink
Merge pull request #273 from valda/pr-regex-animeism
Browse files Browse the repository at this point in the history
アニメイズム枠タイトル抽出の修正
  • Loading branch information
kanreisa committed Sep 16, 2016
2 parents 3e76f50 + 69e12c3 commit 50ee528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app-scheduler.js
Expand Up @@ -397,7 +397,7 @@ function convertPrograms(p, ch) {
.replace(/[「(##♯第]+[0-90-9零一壱壹弌二弐貮貳三参參弎四肆五伍六陸七柒漆八捌九玖十拾廿卄]+[話回」)]*/g, '');

if (c.category[1]._ === 'anime') {
title = title.replace(/(?:TV|TV)?アニメ「([^「」]+)」/g, '$1')
title = title.replace(/(?:TV|TV)?アニメ(?:イズム)?「([^「」]+)」/g, '$1')
.replace(/([^場版])「.+」/g, '$1');
}

Expand Down

0 comments on commit 50ee528

Please sign in to comment.