Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

Commit

Permalink
Regex case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
jonag authored Jul 21, 2016
1 parent 97d511b commit daa6f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jonag/Episodes/Helper/EpisodeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class EpisodeHelper
{
const PATTERN = '/^(.+)[\.|\s]S?([0-9]+)[Ex]([0-9]+)(?:\-?[Ex]?[0-9]+)*?[\.|\s][^\[]+[^\.]([\.|\s]?\[.+\])?$/';
const PATTERN = '/^(.+)[\.|\s]S?([0-9]+)[Ex]([0-9]+)(?:\-?[Ex]?[0-9]+)*?[\.|\s][^\[]+[^\.]([\.|\s]?\[.+\])?$/i';

private $showName;
private $season;
Expand Down

0 comments on commit daa6f6f

Please sign in to comment.