Menu

#65 Newlines in <title> breaks regexps in ScaneRSS

open
nobody
None
4
2009-10-20
2009-10-20
No

Hi.

A newline first in the title field of a feed makes it necessary to preceed each regexp with (?s) to match it. This seems unnecessary, and kind of tricky to find for anyone not well versed in regexps.

Two simple solutions I can think of are either to add the s flag to all regexp searches, or convert newlines to spaces before doing the search.

Discussion

  • Christer Boräng

    Sorry, forgot to say that I'm using ScaneRSS 0.9.9 and Vuze 4.2.0.8.

     
  • Christer Boräng

    • priority: 5 --> 4
     

Log in to post a comment.