Example on Wiki Page

I was viewing the documentation of the PluginRSS wiki page, and I felt it did not provide adequate example use cases. In fact anyone who writes regular expressions will realize that the example is “incorrect”. The regular expression “/History.Channel.*/i” will match

  • History.Channel
  • HistoryYChannel
  • History8Channel
  • etc..

The correct regular expression would be “/History\.Channel.*/i”, because you would need to cancel out a literal dot character. Anyways here are a couple regular expressions that I currently use.

Regular expressions of properly titled scene released television episodes

  • /30\.Rock\.S05E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /90210\.S03E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /The\.Big\.Bang\.Theory\.S04E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Californication\.S04E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Community\.S02E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Dirty\.Jobs\.S08E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Family\.Guy\.S08E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Glee\.S02E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Gossip\.Girl\.S04E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /How\.I\.Met\.Your\.Mother\.S06E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /House\.S07E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Modern\.Family\.S02E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /The\.Cleveland\.Show\.S02E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /The\.Office(\.US)?\.S07E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /The\.Simpsons\.S22E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i
  • /Tosh\.0\.S03E[0-9]{2}(\.REPACK)?\.720p\.HDTV\.x264/i

Just as  side note, you do not have to use the “anything” expression to finish the line.

Related Posts